Allow overloading of polymorphic procedures

This commit is contained in:
Ginger Bill
2017-07-02 10:45:22 +01:00
parent d782b3d21d
commit 96d32680fe
5 changed files with 151 additions and 114 deletions

View File

@@ -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