[Issue 18520] Different delegates can be aliased to the same name multiple times

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18520 Basile B. changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18520] Different delegates can be aliased to the same name multiple times

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18520 --- Comment #1 from monkeywork...@hotmail.com --- The code seemingly functions correctly when I change it as follows: int f1(int n) { return 0; } char f2(char c) { return 'a'; } bool f3(bool b) { return false; } alias f = f1; alias f = f2; alias