https://issues.dlang.org/show_bug.cgi?id=14440
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |CTFE, wrong-code CC| |[email protected] OS|Linux |All --- Comment #1 from [email protected] --- Reduced further: struct Matrix { int[1][2] array2D; this(int dummy) { array2D[0][0] = 1; array2D[1][0] = 2; /* writes over array2D[0][0] */ } } static assert(Matrix(0).array2D[0][0] == 1); /* fails */ --
