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) { _Generic(0, int: 8, long: bar(3)) }
panic: for loop over objects with non-equal lengths /Users/ehaas/source/arocc/src/aro/Parser.zig:8609:73: 0x10a6233ee in genericSelection (arocc) for (p.list_buf.items[list_buf_top + 1 ..], p.decl_buf.items[decl_buf_top..]) |item, prev_tok| { ^ /Users/ehaas/source/arocc/src/aro/Parser.zig:7946:54: 0x10a613a88 in primaryExpr (arocc) .keyword_generic => return p.genericSelection(), ^ /Users/ehaas/source/arocc/src/aro/Parser.zig:7278:40: 0x10a60a6ce in unExpr (arocc) lhs = try p.primaryExpr(); ^ /Users/ehaas/source/arocc/src/aro/Parser.zig:6716:20: 0x10a5fd5b8 in castExpr (arocc) return p.unExpr(); ^
The text was updated successfully, but these errors were encountered:
Parser: handle error during parsing of generic selection
06bdfd2
ensure list_buf and decl_buf have the same length before iterating over them to check for duplicate controlling expressions Fixes Vexu#659
d304efe
011809e
ensure list_buf and decl_buf have the same length before iterating over them to check for duplicate controlling expressions Fixes #659
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: