https://issues.dlang.org/show_bug.cgi?id=4152
basile-z <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid |accepts-invalid CC| |[email protected] Hardware|x86 |All OS|Windows |All --- Comment #2 from basile-z <[email protected]> --- Wouldn't the bug be that in first place the "A then B" version works ? It seems that the compiler silently selects the first overload member. I think that AddrExp of an overload-set should not be allowed. This is like assuming that the following code should work: ```d void f(char){} void f(double){} void main() { auto badAddrOfOverSet = &f; f(0.0); } ``` and that is not the case. --
