Index: pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart |
diff --git a/pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart b/pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart |
index efd0bce54b0e6047a22bf15ae063955e981025cc..4a4c082101754059cc1b81a6d0be7acfcb5f6b36 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart |
@@ -332,7 +332,7 @@ class List<E> { |
} |
list = JSArray.markFixedList(JS('', 'new Array(#)', length)); |
} |
- return new JSArray<E>.typed(list); |
+ return new JSArray<E>.of(list); |
} |
@patch |