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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/js_array.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: sdk/lib/_internal/compiler/implementation/lib/js_array.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
index 8d7fe061161427a42fc0972fcb84bc92b820a5d2..2d73dc91acd0333c377df4f7f17dc557290c1ea9 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
@@ -294,6 +294,6 @@ class JSArray<E> extends Interceptor implements List<E>, JSIndexable {
* Dummy subclasses that allow the backend to track more precise
* information about arrays through their type.
*/
-class JSMutableArray extends JSArray {}
+class JSMutableArray extends JSArray implements JSMutableIndexable {}
kasperl 2013/04/24 10:43:03 I'll see if I can remove this in the next CL.
class JSFixedArray extends JSMutableArray {}
class JSExtendableArray extends JSMutableArray {}

Powered by Google App Engine
This is Rietveld 408576698