Index: compiler/lib/implementation/array.js |
=================================================================== |
--- compiler/lib/implementation/array.js (revision 394) |
+++ compiler/lib/implementation/array.js (working copy) |
@@ -4,13 +4,13 @@ |
function native_ArrayFactory__new(typeToken, length) { |
return RTT.setTypeInfo( |
- new Array(length), |
+ new Array(length), |
Array.$lookupRTT(RTT.getTypeInfo(typeToken).typeArgs)); |
} |
function native_ListFactory__new(typeToken, length) { |
return RTT.setTypeInfo( |
- new Array(length), |
+ new Array(length), |
Array.$lookupRTT(RTT.getTypeInfo(typeToken).typeArgs)); |
} |
@@ -40,3 +40,7 @@ |
} |
native__ArrayJsUtil__throwIndexOutOfRangeException(index); |
} |
+ |
+function native_ObjectArray__splice(start, length) { |
+ this.splice(start, length); |
+} |