aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-07-02 10:45:22 +0100
committerGinger Bill <bill@gingerbill.org>2017-07-02 10:45:22 +0100
commit96d32680fe1b83ec943382efb8e91c7029f0621f (patch)
tree8e078539713063cb743f1a2c7658f8aa57051180 /src/types.cpp
parentd782b3d21d55a78fb538aa8b6421ae177235f037 (diff)
Allow overloading of polymorphic procedures
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp4
1 files changed, 4 insertions, 0 deletions
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
}
}
}