Convert a descriptor for regular array into readonly one.
NOTE: for performance reasons we assume that every readonly T[] is T[],
and the readonly annotation is there just to prevent altering it.
It's not true in a general case, but should be good enough for us.
Convert a descriptor for regular array into readonly one.
NOTE: for performance reasons we assume that every
readonly T[]isT[], and thereadonlyannotation is there just to prevent altering it. It's not true in a general case, but should be good enough for us.