aboutsummaryrefslogtreecommitdiff
path: root/src/eval.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.cpp')
-rw-r--r--src/eval.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval.cpp b/src/eval.cpp
index f7c4f5e2a6..8b7984b46c 100644
--- a/src/eval.cpp
+++ b/src/eval.cpp
@@ -296,7 +296,7 @@ int eval_const_expr_bin_op(ConstExprValue *op1_val, TypeTableEntry *op1_type,
return eval_const_expr_bin_op_bignum(op1_val, op2_val, out_val, bignum_mod, op1_type);
case BinOpTypeUnwrapMaybe:
zig_panic("TODO");
- case BinOpTypeStrCat:
+ case BinOpTypeArrayCat:
case BinOpTypeArrayMult:
case BinOpTypeInvalid:
zig_unreachable();
@@ -345,7 +345,7 @@ static bool eval_bin_op_expr(EvalFn *ef, AstNode *node, ConstExprValue *out_val)
case BinOpTypeDiv:
case BinOpTypeMod:
case BinOpTypeUnwrapMaybe:
- case BinOpTypeStrCat:
+ case BinOpTypeArrayCat:
case BinOpTypeArrayMult:
break;
case BinOpTypeInvalid: