aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-11 20:52:54 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-11 20:52:54 +0100
commitc2c935ba818167a7056da5ac61687ecd2d97cc59 (patch)
treee0a345e33aebe9811cfdeb3a65b63db13777ed72 /src/ir.cpp
parent2d73c8868b62dd3555409ee4522205d670ddeb42 (diff)
Fix trailing default argument checking
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
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)) {