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

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

void bar()


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:
------- You are receiving this mail because: -------

Reply via email to