mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-10 23:05:32 -04:00
Fix #2666 by checking for disabled when generating parapoly procs
This commit is contained in:
1 parent
1b3657122c
commit
74338733ba
4 files changed
+32
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user