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

Unified Diff: sdk/lib/internal/list.dart

Issue 1345083002: Revert "Dartium JS Interop enabled." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | « sdk/lib/indexed_db/dartium/indexed_db_dartium.dart ('k') | sdk/lib/js/dart2js/js_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/internal/list.dart
diff --git a/sdk/lib/internal/list.dart b/sdk/lib/internal/list.dart
index 37ee3f8c19c24de52792a726016ebde271051823..ed5c987dd46e49a45901d5bfdccb73c70deaa7e0 100644
--- a/sdk/lib/internal/list.dart
+++ b/sdk/lib/internal/list.dart
@@ -11,7 +11,7 @@ part of dart._internal;
*/
abstract class FixedLengthListMixin<E> {
/** This operation is not supported by a fixed length list. */
- set length(int newLength) {
+ void set length(int newLength) {
throw new UnsupportedError(
"Cannot change the length of a fixed-length list");
}
@@ -105,7 +105,7 @@ abstract class UnmodifiableListMixin<E> implements List<E> {
}
/** This operation is not supported by an unmodifiable list. */
- set length(int newLength) {
+ void set length(int newLength) {
throw new UnsupportedError(
"Cannot change the length of an unmodifiable list");
}
« no previous file with comments | « sdk/lib/indexed_db/dartium/indexed_db_dartium.dart ('k') | sdk/lib/js/dart2js/js_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698