On 01/15/2012 10:02 PM, Nick Sabalausky wrote:
"Timon Gehr"<timon.g...@gmx.ch> wrote in message news:jevefv$2je6$1...@digitalmars.com...On 01/15/2012 09:34 PM, Nick Sabalausky wrote:import std.conv; enum Foo { hello } enum x = to!string();enum x = to!string(Foo.hello);Goddamnnit, what the fuck is wrong with me? Yes that works :)
I suspect a better error message would have prevented this. DMD still has some potential of improvement in that area. =)