-
Notifications
You must be signed in to change notification settings - Fork 464
Fix dropping attributes of props in JSX v4 #5905
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
Conversation
@cknitt IMHO, if this PR gets approval, then it needs to go to |
@mununki No problem for me. 😄 Thanks for all the great work you are doing! |
@cristianoc I realized that it doesn't have the same output as this fix in the syntax repo. Because the PR rescript-lang/syntax#683 was not merged in the syntax repo, parsing attributes in the argument of function works differently between compiler and syntax. Maybe can we reopen the PR rescript-lang/syntax#683 and merge it in the syntax repo first, then make another PR for this fix? |
Oh that's right. |
Not sure I understand correctly. |
Backported to the syntax repo rescript-lang/syntax#723 |
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.
The breaking change line on the changelog should go on branch 10.1 too.
Got it, thanks! 446c18a |
Sorry the changelog in this PR was OK. |
Oops, I misread your comment. I'll revert the changelog in this PR. I'll add the same line into the changelog in the |
This reverts commit 446c18a.
I think this is ready to merge when CI is done. |
This PR fixes dropping the attributes from the arguments and core_type in the make function or make primitive in JSX v4.
It can fix issue #5904 either.