We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@unboxed
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
@unboxed type x = One let x = One
This breaks with:
Fatal error: exception File "jscomp/ml/translcore.ml", line 836, characters 60-66: Assertion failed
Add another constructor to x and it compiles.
x
The text was updated successfully, but these errors were encountered:
Fix compiler crash with unboxed types with only 1 constructor.
1598662
Fixes #6519
846642a
55a473a
Fix compiler crash with unboxed types with only 1 constructor. (#6523)
799eb1d
Successfully merging a pull request may close this issue.
This breaks with:
Add another constructor to
x
and it compiles.The text was updated successfully, but these errors were encountered: