Skip to content

ambiguous operator error improvement - #468

Merged
joente merged 3 commits into
mainfrom
impr-ambiguous-ne
Oct 19, 2026
Merged

joente merged 3 commits into
mainfrom
impr-ambiguous-ne

Conversation

@joente

@joente joente commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Description

Improve error message when typing the following:

test()!=0;

Current error:

error at line 1, position 7, unexpected character `=`, expecting: ; or end_of_statement

This pull request improves the message:

error at line 1, position 6, ambiguous operator `!=`, add a space between `)` and `!=` to resolve

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Update advanced testing

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes

@joente joente self-assigned this Oct 19, 2026
@joente
joente merged commit 8eefd8d into main Oct 19, 2026
1 check passed
@joente
joente deleted the impr-ambiguous-ne branch October 19, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant