Index: sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
index 684b7b81bd92011419cc6b4e1c5bec9f3e08bf41..a4f069d5170c50aab32eac8b2a25e43aaca00470 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
@@ -167,7 +167,10 @@ class JSArray<E> implements List<E> { |
int get hashCode => Primitives.objectHashCode(this); |
- Type get runtimeType => List; |
+ Type get runtimeType { |
+ // Call getRuntimeTypeString to get the name including type arguments. |
+ return new TypeImpl(getRuntimeTypeString(this)); |
+ } |
int get length => JS('int', r'#.length', this); |