mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-06 21:17:40 +00:00
Fix fallthrough within a nested block
This commit is contained in:
@@ -1119,7 +1119,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
|
||||
|
||||
case_ast_node(bs, BlockStmt, node);
|
||||
check_open_scope(c, node);
|
||||
check_stmt_list(c, bs->stmts, mod_flags);
|
||||
check_stmt_list(c, bs->stmts, flags);
|
||||
check_close_scope(c);
|
||||
case_end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user