| Index: compiler/lib/implementation/array.js
|
| diff --git a/compiler/lib/implementation/array.js b/compiler/lib/implementation/array.js
|
| index 1f1e3f2e4ceae76d555038dfd1f2533bdc2a64a5..a6b1abe17ac15cfd3a6f7b81a6a94f9ef38b1046 100644
|
| --- a/compiler/lib/implementation/array.js
|
| +++ b/compiler/lib/implementation/array.js
|
| @@ -2,6 +2,12 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +function native_ListFactory__new(typeToken, length) {
|
| + return RTT.setTypeInfo(
|
| + new Array(length),
|
| + Array.$lookupRTT(RTT.getTypeInfo(typeToken).typeArgs));
|
| +}
|
| +
|
| function native_ListImplementation__indexOperator(index) {
|
| return this[index];
|
| }
|
|
|