mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-14 18:02:22 -07:00
Allow overloading of polymorphic procedures
This commit is contained in:
+1
-1
@@ -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