diff options
Diffstat (limited to 'src/eval.cpp')
| -rw-r--r-- | src/eval.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eval.cpp b/src/eval.cpp index b3b8b81b35..1e71fd262b 100644 --- a/src/eval.cpp +++ b/src/eval.cpp @@ -55,9 +55,11 @@ bool const_values_equal(ConstExprValue *a, ConstExprValue *b, TypeTableEntry *ty zig_panic("TODO"); case TypeTableEntryIdNamespace: zig_panic("TODO"); + zig_panic("TODO"); case TypeTableEntryIdGenericFn: case TypeTableEntryIdInvalid: case TypeTableEntryIdUnreachable: + case TypeTableEntryIdVar: zig_unreachable(); } zig_unreachable(); @@ -1301,6 +1303,7 @@ static bool eval_expr(EvalFn *ef, AstNode *node, ConstExprValue *out) { case NodeTypeArrayType: case NodeTypeErrorType: case NodeTypeTypeLiteral: + case NodeTypeVarLiteral: zig_panic("TODO"); case NodeTypeRoot: case NodeTypeFnProto: |
