https://issues.dlang.org/show_bug.cgi?id=20319 --- Comment #2 from Bartek Siudeja <siudej at gmail.com> --- Maybe a nicer way to reproduce, pointing at handling of strings: ``` auto data = cast(const int[]) "qwer"; // not OK auto data2 = cast(const int[]) "qwer".dup; // OK ``` --