From 57d4333ed3a36778a034f144a6998587d61ed831 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 14 Dec 2018 15:45:14 +0000 Subject: Fix polymorphic procedure generation with debug information --- 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 4ac59b647..e11d1a054 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -2712,7 +2712,7 @@ void ir_value_set_debug_location(irProcedure *proc, irValue *v) { gb_printf_err("\t%.*s\n", LIT(instr->DebugDeclare.entity->token.string)); } } - GB_PANIC("Value wihout debug location: %.*s %p; %p", LIT(proc->name), proc->entity, v); + GB_PANIC("Value without debug location: %.*s %p; %p :: %s", LIT(proc->name), proc->entity, v, type_to_string(proc->type)); } } } -- cgit v1.2.3