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
enum Mouse_Button { LEFT, RIGHT, MIDDLE, } fn void foo(Mouse_Button button) { } fn void main() { uint x = 1; foo((Mouse_Button)x); }
Assertion failed: (be_value->type->canonical == type), function llvm_emit_parameter, file llvm_codegen_expr.c, line 5137.
On dev branch.
The text was updated successfully, but these errors were encountered:
Assertion failed when casting argument to enum #1196
97c9bd7
Should work now.
Sorry, something went wrong.
Looks fixed.
lerno
No branches or pull requests
On dev branch.
The text was updated successfully, but these errors were encountered: