[Issue 314] [module] Static, renamed, and selective imports are always public

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Mar 10 14:36:25 PST 2016


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

--- Comment #54 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
(In reply to Leandro Lucarella from comment #53)
> Is this time for real? I think I'm gonna cry.

It is, but the new import semantics that came with fixing various import bugs
for the next release are surprising to a number of us. The number of resulting
deprecation messages in Phobos was quite large, and it's quite likely that
there's a lot of code out there that's going to at minimum get a lot of
deprecation messages and probably end up with broken code due to imports that
don't work as expected anymore. We may be better off in the long run (and
certainly, finally getting bugs like this fixed is fantastic), but I can't say
that I'm particularly enthused with the resulting semantics, and it's going to
take some getting used to.

--


More information about the Digitalmars-d-bugs mailing list