-
Notifications
You must be signed in to change notification settings - Fork 15
Merge 5.2.0minus-4 #120
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
Merge 5.2.0minus-4 #120
Conversation
goldfirere
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reviewed the last 6 commits.
| at_modalities_expr: | ||
| | AT modalities {$2} | ||
| | AT error { expecting $loc($2) "modality expression" } | ||
| // | AT error { expecting $loc($2) "modality expression" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why comment this out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merlin's error recovery when parsing works differently than in the compiler. You'll notice there's other similar things commented out.
|
I've read the questions in the top post and am OK with these changes. Specifically about jkind annotations: the change was to drop automatically printing user-written jkind annotations on |
Imports compiler changes for version 5.2.0minus-4. The first three commits are the result of running the import script (and committing conflicts), so they should be skipped when reviewing.
Beyond general review, there are a few things for which I would like special attention from certain people:
Printtyp.tree_of_type_decl. This led to test changes in (only)tests/test-dirs/type-enclosing/jane-street.t/run.t.Ptyp_of_type.constructor_argument. I assumed thatca_jkindis the kind forca_typeand can therefore be ignored. (For context, this function is converting from a typed tree to a parse tree for Merlin'sconstructcommand.)