Closed flofriday closed 1 year ago
class A { } func A() > Int { return 4 } print(A())
This code passes the typechecker however, it should not be allowed as it is not clear if we want to call the function or the constructor of the class A.
True, I will fix it!
This code passes the typechecker however, it should not be allowed as it is not clear if we want to call the function or the constructor of the class A.