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
void foo(void) { (enum E)2.0; }
panic: attempt to use null value /Users/ehaas/source/arocc/src/aro/Value.zig:174:57: 0x1084a7b40 in floatToInt (arocc) const bits: usize = @intCast(dest_ty.bitSizeof(comp).?); ^ /Users/ehaas/source/arocc/src/aro/Parser.zig:5962:43: 0x108614be4 in castType (arocc) _ = try res.val.floatToInt(to, p.comp); ^ /Users/ehaas/source/arocc/src/aro/Parser.zig:6704:29: 0x108612460 in castExpr (arocc) try operand.castType(p, ty, operand_tok, l_paren); ^ /Users/ehaas/source/arocc/src/aro/Parser.zig:6597:29: 0x108608285 in mulExpr (arocc) var lhs = try p.castExpr(); ^
The text was updated successfully, but these errors were encountered:
Parser: do not attempt to cast floats to incomplete-size ints
e0fba97
Fixes Vexu#660
57cec30
Fixes #660
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: