Fix fallthrough within a nested block

This commit is contained in:
gingerBill
2017-12-17 21:55:20 +00:00
parent a69ea58388
commit b509946b13

View File

@@ -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;