Skip to content

[feature] fix #406 for better error message #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2016

Conversation

bobzhang
Copy link
Member

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 50.656% when pulling 7734e78 on enhance_better_syntax_error into fc50dd6 on master.

@bobzhang bobzhang merged commit e0ecf15 into master May 24, 2016
@bobzhang bobzhang deleted the enhance_better_syntax_error branch May 24, 2016 19:52
kevinbarabash pushed a commit to kevinbarabash/rescript-compiler that referenced this pull request Dec 24, 2021
rescript-lang#410)

Fixes rescript-lang/syntax#409

The parser should parse `type queryDelta = Compute({"blocked_ids": unit} => unit)` without parens surrounding the object type-expr `{"blocked_ids": unit}`. The parens are optional in this case.
In other places like `{"blocked_ids": unit} => unit`, this was already the case.
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.

2 participants