From 7493af59538fc59f6180c83a188e1b28bdf33eb4 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 11 Jan 2017 00:38:24 -0500 Subject: fix a few tests --- src/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index c3e137548c..4e36bde9f1 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -7119,7 +7119,7 @@ static TypeTableEntry *ir_analyze_bin_op_math(IrAnalyze *ira, IrInstructionBinOp return ira->codegen->builtin_types.entry_invalid; } else if (err == ErrorOverflow) { ir_add_error_node(ira, bin_op_instruction->base.source_node, - buf_sprintf("value cannot be represented in any integer type")); + buf_sprintf("operation caused overflow")); return ira->codegen->builtin_types.entry_invalid; } return ira->codegen->builtin_types.entry_invalid; -- cgit v1.2.3