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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Vladimir Panteleev <[email protected]> 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: -------