diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-11 20:52:54 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-11 20:52:54 +0100 |
| commit | c2c935ba818167a7056da5ac61687ecd2d97cc59 (patch) | |
| tree | e0a345e33aebe9811cfdeb3a65b63db13777ed72 /src/ir.cpp | |
| parent | 2d73c8868b62dd3555409ee4522205d670ddeb42 (diff) | |
Fix trailing default argument checking
Diffstat (limited to 'src/ir.cpp')
| -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 95c277f59..e48e1d0ca 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -2731,7 +2731,7 @@ irValue *ir_emit_conv(irProcedure *proc, irValue *value, Type *t) { ev = exact_value_to_complex(ev); } else if (is_type_string(dst)) { // Handled elsewhere - GB_ASSERT(ev.kind == ExactValue_String); + GB_ASSERT_MSG(ev.kind == ExactValue_String, "%d", ev.kind); } else if (is_type_integer(dst)) { ev = exact_value_to_integer(ev); } else if (is_type_pointer(dst)) { |