http://d.puremagic.com/issues/show_bug.cgi?id=8636

           Summary: inconsistent behavior with implicit imports
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: thelastmamm...@gmail.com


--- Comment #0 from thelastmamm...@gmail.com 2012-09-09 17:43:50 PDT ---
(bug filed in response to
http://forum.dlang.org/thread/tscjzueypzuiptpkv...@forum.dlang.org)

This compiles but shouldn't: (needs explicit import)
----
import std.stdio;
void main(){
    writeln(std.conv.to!double(1));
}
----

This doesn't compile (and shouldn't):
----
import std.stdio;
void main(){
    std.stdio.writeln(std.conv.to!double(1));
}
----
=>Error: undefined identifier std

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

Reply via email to