Skip to content

Conversation

@gasman
Copy link
Contributor

@gasman gasman commented Jun 5, 2017

The parser handles negative literals as a unary minus expression rather than a literal,
and so we need to match UnaryExpression as an extra case.

gasman added 2 commits June 6, 2017 01:33
The parser handles negative literals as a unary minus expression rather than a literal,
and so we need to match UnaryExpression as an extra case.
@gasman gasman force-pushed the fix/allow-negative-int-return branch from 3d4ffda to 62a2f97 Compare June 6, 2017 00:34
@gasman gasman changed the title Accept negative literals as return values Make validator accept negative literals in variable declarations and return values Jun 6, 2017
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