Repository navigation
add partial-application - #334
Conversation
|
I don't like this. Partial applications are not like variants of call/new expressions. They're unrelated other than they have similar surface syntax. Partial call/new should be their own nodes. |
Thank you for your suggestion. Like I said the current AST design reflects on Babel's current approach, implemented long ago when the proposal only contains the argument placeholder. Another reason for I am fine with new nodes because of the Aside: As a known deviation from ESTree, Babel models |
|
@michaelficarra Updated the AST draft, PTAL. |
|
Yes this seems better. Thank you.
I have no opinions on naming. |
|
@nzakas ping. Any review comments? Thank you. |
nzakas
left a comment
There was a problem hiding this comment.
I like the revised approach. LGTM.
View Rendered Text
This PR adds Partial Application support. It is based on Babel's current approach, which implements a legacy version of this proposal prior to October 2021.