[Issue 15966] [REG 2.071] {public,protected} imports in base class ignored on symbol lookup

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon May 9 11:04:57 PDT 2016


--- Comment #7 from Martin Nowak <code at dawg.eu> ---
(In reply to Walter Bright from comment #3)
> The trouble is that imports in the base class will override global imports
> referred to by the derived class. This is exactly the kind of problem the
> import changes were so strongly desired to fix.
> The compiler is working as designed, this is deliberate behavior.

Even if desired we'd at least have to integrate this w/ our
-transition=checkimport/imports infrastructure.
Should this really apply to public imports as well?


More information about the Digitalmars-d-bugs mailing list