Skip to content

Comments removed in JSX expression #7416

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

Closed
shulhi opened this issue Feb 1, 2025 · 0 comments · Fixed by #7424
Closed

Comments removed in JSX expression #7416

shulhi opened this issue Feb 1, 2025 · 0 comments · Fixed by #7424
Assignees
Labels
Milestone

Comments

@shulhi
Copy link
Member

shulhi commented Feb 1, 2025

When comments are outside of braces, it gets removed in certain cases.

https://rescript-lang.org/try?version=v11.1.4&module=esmodule&code=DYUwLgBAHhC8EB4AmBLAbgPgFAQgejwgGMB7AWzJADswcIBvO3USAQzggCIALEYYEpywBIAEohWRMADoAzmABOKKgHMAFKwCUuXHQC+WBHlSYgA

@cknitt cknitt transferred this issue from rescript-lang/rescript-react May 4, 2025
@cknitt cknitt added this to the v12 milestone May 4, 2025
@cknitt cknitt added the bug label May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants