Multiple functions, same signature

Luís Marques luis at luismarques.eu
Wed Jul 11 15:58:05 UTC 2018


I was surprised to find out today that this compiles:

void foo() {}
void foo() {}
void main() {}

Is it a bug, or just a weird design decision? "alphaglosined" on 
IRC seemed to think it was a regression. Please confirm, so that 
I can file a bug, or understand the design decision rationale.


More information about the Digitalmars-d mailing list