-
Notifications
You must be signed in to change notification settings - Fork 475
Fix invalid JSX being generated for empty fragments #8077
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
rescript
@rescript/darwin-arm64
@rescript/darwin-x64
@rescript/linux-arm64
@rescript/linux-x64
@rescript/runtime
@rescript/win32-x64
commit: |
| assuming "JsxRuntime". *) | ||
| let is_fragment = | ||
| match tag.expression_desc with | ||
| | J.Var (J.Qualified ({id = {name = "JsxRuntime"}}, Some "Fragment")) -> |
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.
pre-existing, but this is terrible
is there at least a file where all the "interesting" jsx preserve mode things like this are collected?
So one at least knows where to look?
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 don't know of such a file or if there are more similar problems.
I can create an issue for tracking this though.
0af7536 to
5a55f16
Compare
Fixes #8076