[Issue 12399] New: Static and selective import acts like a normal import

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 18 04:17:23 PDT 2014


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

           Summary: Static and selective import acts like a normal import
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-03-18 13:17:22 EET ---
////////// test.d /////////
import std.stream : Stream;
static import std.stream;

import std.stdio;

void main()
{
    File f;
}
///////////////////////////

test.d(8,7): Error: std.stream.File at C:\...\std\stream.d(1907,1) conflicts
with std.stdio.File at C:\...\std\stdio.d(308,1)

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


More information about the Digitalmars-d-bugs mailing list