Multiple functions, same signature
John Colvin
john.loughran.colvin at gmail.com
Wed Jul 11 16:01:48 UTC 2018
On Wednesday, 11 July 2018 at 15:58:05 UTC, Luís Marques wrote:
> 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.
Definitely a change, but it always compiled, it just used to fail
to link
https://run.dlang.io/is/b0JxD9
More information about the Digitalmars-d
mailing list