[Issue 12359] implicit overload merging with selective/renamed imports should be removed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 14 00:22:33 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12359
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-03-14 00:22:31 PDT ---
(In reply to comment #0)
> To reproduce same behavior, explicit alias should work.
>
> import std.ascii : isDigit; // Don't create alias silently
>
> bool isDigit(char c) { return true; }
> alias isDigit = std.ascii.isDigit; // explicitly merge overloads
I don't see how this can work, "std.ascii" should not be visible in the last
statement.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list