diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-02-02 17:09:27 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-02-02 17:09:27 -0500 |
| commit | c0b37e8514a26f56e3596f86b01771b1ae2bf299 (patch) | |
| tree | b24c7fd04b2e8582d4e79455455e740ef58ca864 /src/analyze.cpp | |
| parent | 8b1c6d8b76ad1861f963fc7a2a079af5d8729a70 (diff) | |
| download | zig-c0b37e8514a26f56e3596f86b01771b1ae2bf299.tar.gz zig-c0b37e8514a26f56e3596f86b01771b1ae2bf299.zip | |
add try expression
See #83
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 9278ddd555..506d5e1db3 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -1769,6 +1769,7 @@ void scan_decls(CodeGen *g, ScopeDecls *decls_scope, AstNode *node) { case NodeTypeErrorType: case NodeTypeTypeLiteral: case NodeTypeVarLiteral: + case NodeTypeTryExpr: zig_unreachable(); } } |
