On Saturday, 3 October 2020 at 14:02:08 UTC, tspike wrote:
On Saturday, 3 October 2020 at 12:43:01 UTC, Timon Gehr wrote:It's a compiler bug, the same as this one: @nogc: void main(){ static immutable x = { int[] a; a~=1; return a; }(); }Ah, thank you for the quick reply! Do you know if this bug has already been reported?
https://issues.dlang.org/show_bug.cgi?id=18439
