diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-01-11 00:38:24 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-01-11 00:38:24 -0500 |
| commit | 7493af59538fc59f6180c83a188e1b28bdf33eb4 (patch) | |
| tree | 1e0151d958cbc92d4cea9652113e3ff3e81ceacc /src | |
| parent | fde276a3bf3d20da5346bd302a736101ce440362 (diff) | |
| download | zig-7493af59538fc59f6180c83a188e1b28bdf33eb4.tar.gz zig-7493af59538fc59f6180c83a188e1b28bdf33eb4.zip | |
fix a few tests
Diffstat (limited to 'src')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
