diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-04-21 16:46:33 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-04-21 16:46:33 -0400 |
| commit | 0cce115476628ad1bb266309225efa5714d56321 (patch) | |
| tree | 47b49a58d1ff23ed74ea599961b5f9bc92e6fadc /src/analyze.cpp | |
| parent | d5346d7a8045549819abeb331d775aa2a10ca53b (diff) | |
| download | zig-0cce115476628ad1bb266309225efa5714d56321.tar.gz zig-0cce115476628ad1bb266309225efa5714d56321.zip | |
update syntax for try and nullable unwrapping
closes #285
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index aef85ca0b5..b2ef1b64e8 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -2099,7 +2099,6 @@ void scan_decls(CodeGen *g, ScopeDecls *decls_scope, AstNode *node) { case NodeTypeSymbol: case NodeTypePrefixOpExpr: case NodeTypeIfBoolExpr: - case NodeTypeIfVarExpr: case NodeTypeWhileExpr: case NodeTypeForExpr: case NodeTypeSwitchExpr: @@ -2119,6 +2118,7 @@ void scan_decls(CodeGen *g, ScopeDecls *decls_scope, AstNode *node) { case NodeTypeErrorType: case NodeTypeVarLiteral: case NodeTypeTryExpr: + case NodeTypeTestExpr: case NodeTypeInlineExpr: zig_unreachable(); } |
