https://issues.dlang.org/show_bug.cgi?id=17145
Simen Kjaeraas <simen.kja...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simen.kja...@gmail.com --- Comment #3 from Simen Kjaeraas <simen.kja...@gmail.com> --- This compiles from 2.064 to 2.071.2, and again from 2.073.2: auto tuple(T...)(T t) { struct Result { T expand; } return Result(t); } enum foo = tuple(1, 2).expand; pragma(msg, typeof(foo).stringof); pragma(msg, foo.stringof); void bar() { auto roo = tuple(1, 2).expand; // OK pragma(msg, typeof(roo).stringof); pragma(msg, roo.stringof); } This compiles from 2.064 to 2.065.0, but fails ever since: auto tuple(T...)(T t) { struct Result { T expand; } return Result(t); } void baz() { enum zoo = tuple(1, 2).expand; // Error: value of __tup1847 is not known at compile time pragma(msg, typeof(zoo).stringof); pragma(msg, zoo.stringof); } --