From 96d32680fe1b83ec943382efb8e91c7029f0621f Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Sun, 2 Jul 2017 10:45:22 +0100 Subject: Allow overloading of polymorphic procedures --- src/types.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/types.cpp') diff --git a/src/types.cpp b/src/types.cpp index d941b5450..d49dd6a86 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -2448,8 +2448,12 @@ gbString write_type_to_string(gbString str, Type *type) { } } else { GB_ASSERT(var->kind == Entity_TypeName); + #if 0 str = gb_string_appendc(str, "type/"); str = write_type_to_string(str, var->type); + #else + str = gb_string_appendc(str, "type"); + #endif } } } -- cgit v1.2.3