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



--- Comment #1 from [email protected] 2013-12-21 15:55:30 PST ---
I apologize, the code I pasted is somewhat confusing. There should be a blank
line after the imports and before the main() declaration, so that the error
message is referring to the "auto x = std.conv.to!double("7.3");" line.



import std.stdio;
import std.conv : to;

void main() {
    auto x = std.conv.to!double("7.3");
    writeln(x - 2.2);
}

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

Reply via email to