https://issues.dlang.org/show_bug.cgi?id=17341
--- Comment #1 from [email protected] --- (In reply to b2.temp from comment #0) > In this example: > > ``` > enum E{e0,e1,e2} > static immutable int[E.max + 1] a = [0,1]; // oops no 3rd element > static assert(isStaticArray!(typeof(a))); // no detected > ``` The static assert should be static assert(a.length == E.max + 1); // not detected --
