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

Unified Diff: tool/input_sdk/private/js_array.dart

Issue 1059583002: Extension method support to move us closer to a valid List implementation. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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
« tool/input_sdk/lib/core/list.dart ('K') | « tool/input_sdk/lib/core/list.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/private/js_array.dart
diff --git a/tool/input_sdk/private/js_array.dart b/tool/input_sdk/private/js_array.dart
index 615ed61fbd31e254f2294e5553171d3104e14e7d..c9aab5f74eea2f6acccabea2f56a094e5e2916cd 100644
--- a/tool/input_sdk/private/js_array.dart
+++ b/tool/input_sdk/private/js_array.dart
@@ -10,7 +10,8 @@ part of _interceptors;
* actually use the receiver of the method, which is generated as an extra
* argument added to each member.
*/
-class JSArray<E> extends Interceptor implements List<E>, JSIndexable {
+@JsName(name: 'Array')
+class JSArray<E> implements List<E>, JSIndexable {
const JSArray();
« tool/input_sdk/lib/core/list.dart ('K') | « tool/input_sdk/lib/core/list.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698