diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-09-29 21:11:16 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-09-29 21:11:16 +0100 |
| commit | 11614c2649aa28a642e4d699cf447d6938057190 (patch) | |
| tree | 4a9748c2a27801dcc4f585f4eb622e1ea539813b /src/check_stmt.cpp | |
| parent | 793bc8c58580dfb64d7c31ca992c34b38e9847e7 (diff) | |
Fix old_demos; Fix `when` bug; Fix enum `.names`
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 8eeab55ab..b4cb91025 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -393,7 +393,6 @@ struct TypeAndToken { }; void check_when_stmt(Checker *c, AstNodeWhenStmt *ws, u32 flags) { - flags &= ~Stmt_CheckScopeDecls; Operand operand = {Addressing_Invalid}; check_expr(c, &operand, ws->cond); if (operand.mode != Addressing_Constant || !is_type_boolean(operand.type)) { |