https://issues.dlang.org/show_bug.cgi?id=21403 --- Comment #3 from Walter Bright <bugzilla at digitalmars.com> --- And a minimal test case: int[] mul11ret3(ref int[] s); void test(int[] val) { (val ~= mul11ret3(val)) ~= 7; } --