From 8c79438f6b76f1ad4b4941cdb46ae1e7aa12ce14 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 7 May 2016 10:05:59 -0700 Subject: better array concatenation semantics closes #87 --- src/eval.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/eval.cpp') 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: -- cgit v1.2.3