[Issue 15179] Local imports cause outer imports to be excluded from overload set

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Mar 25 07:31:11 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15179

--- Comment #7 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Jesse Phillips from comment #6)
> That doesn't solve the highjacking, Walter has made a big point about D's
> anti-highjacking feature.

Yes, it does. Selective imports override any non-selective import because it's
aliased into the local namespace.

--


More information about the Digitalmars-d-bugs mailing list