Functions called on arrays should be wrapped to functions in the ash Array class.
So the following code
var array = new [int, 10]
var reversed = array.reverse()
var sorted = array.sort()
Would be converted into
var array = new [int, 10]
var reversed = Array.reverse(array)
var sorted = Array.sort(array)
This requires the implementation of generics (#41), since the Array functions would be generic methods.
Functions called on arrays should be wrapped to functions in the ash
Arrayclass.So the following code
Would be converted into
This requires the implementation of generics (#41), since the
Arrayfunctions would be generic methods.