diff options
| author | gingerBill <bill@gingerbill.org> | 2018-11-17 10:05:35 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-11-17 10:05:35 +0000 |
| commit | 3061bc84789e82da7a72e118b17a8925cb27ef6a (patch) | |
| tree | 887ede4745b0428a1f165d57ecbf0cc2c07a2afb /src/types.cpp | |
| parent | d035d48c8e372ca0fded91c6160171de5ab64bf3 (diff) | |
Fix error with polymorphic structs #279
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp index 74cc264da..e95fa7c3b 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -1126,7 +1126,7 @@ bool is_type_polymorphic(Type *t) { return true; case Type_Named: - return is_type_polymorphic_record(t->Named.base); + return is_type_polymorphic(t->Named.base); case Type_Pointer: return is_type_polymorphic(t->Pointer.elem); |