Skip to content

Conversation

@kaankacar
Copy link

Prohibit combined unary operators

  • Add semantic error for chained/unparenthesized unary combinations (including parenthesized and negative-literal operands).
  • Update unary/coverage tests to expect errors for sequences like --x, -~x, !!x.

Fixes #82

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.

Combined unary operators are prohibited (-~x)

1 participant