diff options
| author | gingerBill <bill@gingerbill.org> | 2023-07-17 16:23:01 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-07-17 16:23:01 +0100 |
| commit | 7f43c2429707c7b76c2703e9e8ba20d8c449ebad (patch) | |
| tree | 280c62e8109b7c03b2fe9ffb688cd0d1aa4f51c3 /src/types.cpp | |
| parent | 45b3ae31af0cf4805af2a226ebf0610c7c97bf17 (diff) | |
| parent | 1b3657122cb69b96ec54dd878e4fbdbb00641bcc (diff) | |
Merge branch 'master' into tilde
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 a0881b3d1..ff8c42d83 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -3081,7 +3081,7 @@ gb_internal Selection lookup_field_with_selection(Type *type_, String field_name mutex_lock(md->mutex); defer (mutex_unlock(md->mutex)); for (TypeNameObjCMetadataEntry const &entry : md->value_entries) { - GB_ASSERT(entry.entity->kind == Entity_Procedure); + GB_ASSERT(entry.entity->kind == Entity_Procedure || entry.entity->kind == Entity_ProcGroup); if (entry.name == field_name) { sel.entity = entry.entity; sel.pseudo_field = true; |