https://issues.dlang.org/show_bug.cgi?id=12315
Vladimir Panteleev <dlang-bugzi...@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |dlang-bugzilla@thecybershad | |ow.net Resolution|--- |WORKSFORME --- Comment #9 from Vladimir Panteleev <dlang-bugzi...@thecybershadow.net> --- (In reply to monarchdodra from comment #8) > Reopening because I'm not sure it's worth filing something new, but > `Appender` will also CTFE fail on the same types. Can't reproduce this: import std.array; struct Foo1 { int i; } struct Foo2 { immutable int i; } T[] fun(T)() { auto a = appender!(T[]); return a.data; } enum foo1 = fun!Foo1(); enum foo2 = fun!Foo2(); In any case, it should be filed as a separate bug. --