[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 04:34:25 PDT 2016


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|---                         |INVALID

--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
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.


More information about the Digitalmars-d-bugs mailing list