https://d.puremagic.com/issues/show_bug.cgi?id=12405

           Summary: Named imports act like public imports
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Vladimir Panteleev <[email protected]> 2014-03-19 
01:48:42 EET ---
Is this supposed to work?

/////// test.d ///////
import io = std.stdio;

void main()
{
    writeln();
}
//////////////////////

In DMD master, it compiles fine.
In 2.065, it produces an error (writeln not defined).

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

Reply via email to