diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-07-02 10:45:22 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-07-02 10:45:22 +0100 |
| commit | 96d32680fe1b83ec943382efb8e91c7029f0621f (patch) | |
| tree | 8e078539713063cb743f1a2c7658f8aa57051180 /src/types.cpp | |
| parent | d782b3d21d55a78fb538aa8b6421ae177235f037 (diff) | |
Allow overloading of polymorphic procedures
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 4 |
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 } } } |