mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 18:02:02 +00:00
Fix #2666 by checking for disabled when generating parapoly procs
This commit is contained in:
@@ -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