Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1545)

Unified Diff: tool/input_sdk/patch/internal_patch.dart

Issue 1969683002: Update _charCodeApply, makeFixedStringUnmodifiable (Closed) Base URL: https://github.com/dart-lang/dev_compiler@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/runtime/dart_sdk.js ('k') | tool/input_sdk/private/js_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « lib/runtime/dart_sdk.js ('k') | tool/input_sdk/private/js_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698