diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-07-13 22:35:00 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-07-13 22:35:00 +0100 |
| commit | 1c5ddd65b4f66c4d37bd9da0facb229bbcea22eb (patch) | |
| tree | 78078fbb2cf23b31689bb6842ba30e487f199447 /src/ir_print.cpp | |
| parent | b8697fb4ed34d0da0fa0888b57e6edcc37a0ce81 (diff) | |
Rudimentary support for parametric polymorphic types
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 7bd79fe2e..c683f4dc6 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -340,7 +340,7 @@ void ir_print_type(irFileBuffer *f, irModule *m, Type *t) { case Type_Named: if (is_type_struct(t) || is_type_union(t)) { String *name = map_get(&m->entity_names, hash_pointer(t->Named.type_name)); - GB_ASSERT_MSG(name != nullptr, "%.*s", LIT(t->Named.name)); + GB_ASSERT_MSG(name != nullptr, "%.*s %p", LIT(t->Named.name), t->Named.type_name); ir_print_encoded_local(f, *name); } else { ir_print_type(f, m, base_type(t)); |