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

Unified Diff: tests/compiler/dart2js/value_range_test.dart

Issue 13940015: Allow using native JS []= on typed data lists. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
Index: tests/compiler/dart2js/value_range_test.dart
diff --git a/tests/compiler/dart2js/value_range_test.dart b/tests/compiler/dart2js/value_range_test.dart
index 6e23404b9934a52d47c338679f7623a2237f423b..a688a40932bb2e0b83fa91ea728d504cb34a9561 100644
--- a/tests/compiler/dart2js/value_range_test.dart
+++ b/tests/compiler/dart2js/value_range_test.dart
@@ -225,12 +225,13 @@ const String INTERCEPTORSLIB_WITH_MEMBERS = r'''
abstract class JSIndexable {
get length;
}
+ abstract class JSMutableIndexable extends JSIndexable {}
class JSArray implements JSIndexable {
var length;
var removeLast;
operator[] (_) {}
}
- class JSMutableArray extends JSArray {}
+ class JSMutableArray extends JSArray implements JSMutableIndexable {}
class JSFixedArray extends JSMutableArray {}
class JSExtendableArray extends JSMutableArray {}
class JSString implements JSIndexable {

Powered by Google App Engine
This is Rietveld 408576698