diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2020-09-26 21:09:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-26 21:09:40 +0100 |
| commit | 4936713a5ec595e232c29b80dccde2cf7b97bf35 (patch) | |
| tree | e7c39820f5776de9db1febc9dba7cd2a51371471 /src/check_type.cpp | |
| parent | 0bd38ba1f6281046692bc7344c10d287ea6ec3ef (diff) | |
| parent | 7490ac2cfda3ef24195d98f47580f5d19df22ff2 (diff) | |
Merge pull request #740 from bttelle/issue-697
Fix issue #697
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index b6dfafcdc..d305d6859 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -110,6 +110,8 @@ bool does_field_type_allow_using(Type *t) { return true; } else if (is_type_array(t)) { return t->Array.count <= 4; + } else if (is_type_typeid(t)) { + return true; } return false; } |