We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The compiler uses 32 bit integer to keep the values assigned to enum members. If the Enum is declared with UInt64 as in https://github.com/crystal-lang/crystal/blob/master/src/llvm/enums.cr#L4 the user needs to assign values explicitly.
Affected lines https://github.com/crystal-lang/crystal/blob/master/src/compiler/crystal/semantic/top_level_visitor.cr#L683-L686
Extracted from #7262
$ crystal --version Crystal 0.27.0
The text was updated successfully, but these errors were encountered:
@RX14 I think there is no need to fix this issue for 0.27.1, it has been there for a while already.
Sorry, something went wrong.
asterite
Successfully merging a pull request may close this issue.
The compiler uses 32 bit integer to keep the values assigned to enum members.
If the Enum is declared with UInt64 as in https://github.com/crystal-lang/crystal/blob/master/src/llvm/enums.cr#L4 the user needs to assign values explicitly.
Affected lines https://github.com/crystal-lang/crystal/blob/master/src/compiler/crystal/semantic/top_level_visitor.cr#L683-L686
Extracted from #7262
$ crystal --version
Crystal 0.27.0
The text was updated successfully, but these errors were encountered: