https://issues.dlang.org/show_bug.cgi?id=7438
RazvanN <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WONTFIX --- Comment #10 from RazvanN <[email protected]> --- (In reply to bearophile_hugs from comment #3) > (In reply to comment #2) > > Should we close ? > > I agree with Jonathan M Davis that maybe asking for them to be always pure > is a bit too much (this is debatable. Maybe it's a good thing still). > > But I think we can't close this bug report before this little program, that > shows a very basic usage of to!(), compiles with no errors or warnings: > > > import std.conv: to; > void main() pure { > string r = to!string(to!real("2.5")); > } The above example compiles now (even if we mark main as @safe) so as per Jonathan's comments I will close this as WONTFIX. --
