diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-07-04 23:52:00 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-07-04 23:52:00 +0100 |
| commit | 3d2d46186751c67c4239479bcbe4908dff61ecd4 (patch) | |
| tree | aed081304af19ffd4bc2a5c5f71adaa0fe423941 /src/types.cpp | |
| parent | 36392d658e710dce8be276bcc1d379d5328a0291 (diff) | |
Replace many built-in procedures with user-level procedures
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 98aa1e73e..294e17cd8 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -919,6 +919,9 @@ bool is_type_untyped_undef(Type *t) { bool is_type_valid_for_keys(Type *t) { t = core_type(t); + if (t->kind == Type_Generic) { + return true; + } if (is_type_untyped(t)) { return false; } |