Index: tool/input_sdk/patch/internal_patch.dart |
diff --git a/tool/input_sdk/patch/internal_patch.dart b/tool/input_sdk/patch/internal_patch.dart |
index fa158de8cc47343cccf9d37ea1a0e3d341ac343b..3684b5b3bdc0233fe39bb27958bcaa1a06efbe14 100644 |
--- a/tool/input_sdk/patch/internal_patch.dart |
+++ b/tool/input_sdk/patch/internal_patch.dart |
@@ -25,7 +25,7 @@ List/*<E>*/ makeListFixedLength/*<E>*/(List/*<E>*/ growableList) { |
} |
@patch |
-List/*<E>*/ makeFixedListUnmodifiable/*<E>*/(List/*<E>*/ list) { |
- JSArray.markUnmodifiableList(list); |
- return list; |
+List/*<E>*/ makeFixedListUnmodifiable/*<E>*/(List/*<E>*/ fixedLengthList) { |
sra1
2016/05/11 01:44:52
It turns out that patches in dart2js require exact
|
+ JSArray.markUnmodifiableList(fixedLengthList); |
+ return fixedLengthList; |
} |