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) { int x; enum E *ptr = &x; }
panic: reached unreachable code /Users/ehaas/source/arocc/src/aro/Type.zig:1317:17: 0x10e7e3f95 in integerRank (arocc) else => unreachable, ^ /Users/ehaas/source/arocc/src/aro/Type.zig:1324:22: 0x10e8ee58d in sameRankDifferentSign (arocc) if (a.integerRank(comp) != b.integerRank(comp)) return false; ^ /Users/ehaas/source/arocc/src/aro/Parser.zig:6122:87: 0x10e877c6e in coerceExtra (arocc) const different_sign_only = unqual_ty.elemType().sameRankDifferentSign(res.ty.elemType(), p.comp); ^ /Users/ehaas/source/arocc/src/aro/Parser.zig:6055:31: 0x10e8b68a7 in coerce (arocc) return res.coerceExtra(p, dest_ty, tok, c) catch |er| switch (er) { ^
The text was updated successfully, but these errors were encountered:
Type: fix integer rank comparison for incomplete enums
9ad7baa
Fixes Vexu#681
9aeacf0
No branches or pull requests
The text was updated successfully, but these errors were encountered: