February 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7496

           Summary: Selective imports make module accessible with another
                    import from the same package
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: dawg@dawgfoto.de


--- Comment #0 from dawg@dawgfoto.de 2012-02-13 10:51:49 PST ---
import std.algorithm;
import std.stdio : writeln;

void bar()
{
    std.stdio.writeln();
}

----

Without importing std.algorithm this will fail.
This is because std.algorithm make the std package available
which in turn 'knows' stdio because of the selective import.

There are two solutions.
Either disallowing std.stdio or making std.stdio available
for selective imports too.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 17, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7496


dawg@dawgfoto.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #1 from dawg@dawgfoto.de 2012-02-16 19:34:55 PST ---
*** This issue has been marked as a duplicate of issue 313 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------