diff options
| author | gingerBill <bill@gingerbill.org> | 2020-04-13 15:48:56 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-04-13 15:48:56 +0100 |
| commit | f229084baa383ebd81c5d04db1ede5dc71017904 (patch) | |
| tree | b2f5f4ace82547fd96e1e6bf3279dd300272c928 /src/types.cpp | |
| parent | f09b6a4c90805a562b2252430f844e85d06f1ee1 (diff) | |
Basic polymorphic named procedure parameters for procedures and records
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp index bf5a12e9b..530a02df7 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -1039,6 +1039,9 @@ bool is_type_constant_type(Type *t) { if (t->kind == Type_BitSet) { return true; } + if (t->kind == Type_Proc) { + return true; + } return false; } bool is_type_float(Type *t) { |