https://issues.dlang.org/show_bug.cgi?id=15478
ag0aep6g <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #4 from ag0aep6g <[email protected]> --- Reopening. The original test case still fails, but with a different error: ---- struct Foo(N) { this(N value) { } auto bug() { return 0; } } void main() { enum Foo!int foo = 0; Foo!int[foo.bug] bar; /* Error: need this for bug of type pure nothrow @nogc @safe int() */ enum foo_bug = foo.bug; Foo!int[foo_bug] baz; // OK } ---- --
