https://d.puremagic.com/issues/show_bug.cgi?id=11794
Summary: Compilation fails with a certain selective import Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: n...@wabbo.org --- Comment #0 from n...@wabbo.org 2013-12-21 15:52:44 PST --- I'm not sure whether this is a problem with my code or a bug. The following code compiles and executes as expected: import std.stdio; import std.conv : to; void main() { auto x = std.conv.to!double("7.3"); writeln(x - 2.2); } However, changing the first line to this: import std.stdio : writeln; results in the following error: : dmd main.d main.d(5): Error: undefined identifier std This is with DMD 2.064. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------