-
Notifications
You must be signed in to change notification settings - Fork 464
Remove res partial #7240
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
Remove res partial #7240
Conversation
@@ -3708,45 +3705,6 @@ and parse_call_expr p fun_expr = | |||
None; | |||
}; | |||
] | |||
| [ |
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.
Old unnecessary case: foo()
is supported.
LongModuleName.functionWithAlongNameThatWrapsTheEditorToTheNextLinexxxxxxxxxxxxxxxxxxxxxx(d), | ||
... | ||
) | ||
let g = f( |
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.
These differences likely due to the fact that there's no attribute on the application node anymore, so some attribute logic used for printing does not kick in anymore.
(eq(__LOC__, 6, ...))(f1(1)(2, 3)) | ||
(eq(__LOC__, 6, ...))(f2(1, 2)(3)) | ||
(eq(__LOC__, 6, ...))(f3(1)(2, 3)) | ||
eq(__LOC__, 6, ...)(f0(1, 2, 3)) |
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.
After formatting. Again attribute logic likely causing this (positive) change.
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.
Looks great!
One thing I thought of, but that's not really related to this PR - locs for labelled arguments should be possible to add to the AST now as well, right? They're also attributes now I believe.
da520f4
to
b38c908
Compare
Prepare to remove
@res.partial
.Add
partial
boolean to untyped and typed ASTs and propagate the partial information.Then remove
@res.partial
entirely.