Merge pull request #2669 from laytan/check-disabled-when-generating-parapoly

Fix #2666 by checking for disabled when generating parapoly procs
This commit is contained in:
gingerBill authored and GitHub committed 2023-08-01 14:45:36 +01:00
commit 9453b2387b
4 files changed
+32

No files matched your search

+4
View File
@@ -349,6 +349,10 @@ gb_internal bool find_or_generate_polymorphic_procedure(CheckerContext *old_c, E
return false;
}
if (base_entity->flags & EntityFlag_Disabled) {
return false;
}
String name = base_entity->token.string;
Type *src = base_type(base_entity->type);