[Issue 11794] Compilation fails with a certain selective import

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jul 1 18:41:37 PDT 2017


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

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dlang-bugzilla at thecybershad
                   |                            |ow.net
         Resolution|---                         |DUPLICATE

--- Comment #3 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
Fairly sure this is a manifestation of issue 314.

Partial imports (import std.conv : to) do not provide visibility for
fully-qualified names (std.conv.to), the example was using std.stdio's "public"
import. Today's compilers correctly warn about this.

*** This issue has been marked as a duplicate of issue 314 ***

--


More information about the Digitalmars-d-bugs mailing list