Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make validator accept negative literals in variable declarations and return values#126

Open
gasman wants to merge 2 commits intoasm-js:master from
gasman:fix/allow-negative-int-return
Open

Make validator accept negative literals in variable declarations and return values #126
gasman wants to merge 2 commits intoasm-js:master from
gasman:fix/allow-negative-int-return

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /