-
Notifications
You must be signed in to change notification settings - Fork 455
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
Fix local type variables breaking react components in uncurried mode #6665
Fix local type variables breaking react components in uncurried mode #6665
Conversation
* omit trailing undefined in external function calls * changelog * changelog
jscomp/syntax/src/jsx_common.ml
Outdated
| Pexp_newtype (label, e) -> | ||
{ | ||
expr with | ||
pexp_desc = Pexp_newtype (label, removeArityRecord e); | ||
} |
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 guess this would fix the issue, thanks!
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
This should probably be ported to v11 too. It can make it into the v11.1 release. |
…escript-lang#6664) * add test * fix dynamic import of external * add test for adding static import * add change log
@glennsl actually, would you mind rebasing onto the v11_release branch? |
…#6656) * make the partial match suggestion easier to copy * add changelog
457df73
to
1a7e08b
Compare
Fixes #6625