Adam D. Ruppe:
arr.length = arr.length - 1; // arr.length-- won't compile due to silliness
This code now compiles, the bug was fixed: void foo(ref int[] arr) { arr.length--; } void main() {} Bye, bearophile
Adam D. Ruppe:
arr.length = arr.length - 1; // arr.length-- won't compile due to silliness
This code now compiles, the bug was fixed: void foo(ref int[] arr) { arr.length--; } void main() {} Bye, bearophile