DMD2.062:
http://forum.dlang.org/thread/[email protected]#post-tdojcnsrtkygjbhwegph:40forum.dlang.org
import std.conv;
void main()
{
enum s = "`1`.to!int;";
enum c = __traits(compiles, mixin("{auto a = new "~s~";}")); // line 1
mixin("auto a = "~s~";"); // line 2
}
Long errors about instantiating std.conv.to!(int).to!(string). Swap lines 1 and 2 and compilation succeeds. This worked in 2.061. Possibly related to issue 9017.