mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-23 04:50:36 +00:00
Allow overloading of polymorphic procedures
This commit is contained in:
@@ -1475,7 +1475,7 @@ void check_procedure_overloading(Checker *c, Entity *e) {
|
||||
is_invalid = true;
|
||||
break;
|
||||
case ProcOverload_Polymorphic:
|
||||
#if 1
|
||||
#if 0
|
||||
error(p->token, "Overloaded procedure `%.*s` has a polymorphic counterpart in this scope which is not allowed", LIT(name));
|
||||
is_invalid = true;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user