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

           Summary: import wtf1
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: ellery-newco...@utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newco...@utulsa.edu> 2011-01-04 
17:20:43 PST ---
quick! where does the following code fail?


import std.stdio, std.algorithm: writeln, indexOf;
void main(){
    writefln("abc");                               //1
    writeln(map!("a+1")([1,2,3]));                 //2
    std.stdio.writefln("abc");                     //3
    writeln(std.algorithm.map!("a+1")([1,2,3]));   //5
    writeln(indexOf("abc","b"));                   //6
}

answer: 
not 1, but it should
2, as it should
not 3, erm ?????
not 5, which may well be due to bug 314, or vice versa with 1
not 6, which maybe it shouldn't

summary: selective imports can select from multiple modules, but some of the
multiple modules get in to this module's symbol table anyways

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

Reply via email to