https://issues.dlang.org/show_bug.cgi?id=22782
--- Comment #1 from Ate Eskola <[email protected]> --- Also triggered with an assertion: ------ struct DontDoThis { immutable char[12] content; @safe this(char ch) { content[] = ch; assert(0, content[]); } } void main() @safe { DontDoThis('a'); } ------ --
