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

Unified Diff: tool/input_sdk/lib/internal/list.dart

Issue 1943563002: Updates for js_array (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 | « tool/input_sdk/lib/internal/iterable.dart ('k') | tool/input_sdk/private/js_array.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/lib/internal/list.dart
diff --git a/tool/input_sdk/lib/internal/list.dart b/tool/input_sdk/lib/internal/list.dart
index 36322034efa5cac3b53040fe9d81e483b45c3c00..6e975e0d0cf930ed760725b4077c7e9d002c0148 100644
--- a/tool/input_sdk/lib/internal/list.dart
+++ b/tool/input_sdk/lib/internal/list.dart
@@ -123,7 +123,7 @@ abstract class UnmodifiableListMixin<E> implements List<E> {
}
/** This operation is not supported by an unmodifiable list. */
- E insert(int index, E value) {
+ void insert(int index, E element) {
throw new UnsupportedError(
"Cannot add to an unmodifiable list");
}
« no previous file with comments | « tool/input_sdk/lib/internal/iterable.dart ('k') | tool/input_sdk/private/js_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698