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

Unified Diff: test/generated_sdk/lib/core/list.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
Index: test/generated_sdk/lib/core/list.dart
diff --git a/test/generated_sdk/lib/core/list.dart b/test/generated_sdk/lib/core/list.dart
index 583d895d5ef111621bb5e7a16e4f5cc7306964ef..e3d32f2a27f7a44956636101cc5fc7875aa3bd9e 100644
--- a/test/generated_sdk/lib/core/list.dart
+++ b/test/generated_sdk/lib/core/list.dart
@@ -51,7 +51,10 @@ part of dart.core;
* directly or through iterating an [Iterable] that is backed by the list, will
* break the iteration.
*/
+@SupportJsExtensionMethod()
+@JsPeerInterface(name: 'Array')
abstract class List<E> implements Iterable<E>, EfficientLength {
+ // Method that needs to be mixed in to all Dart subclasses that implement
/**
* Creates a list of the given length.
*

Powered by Google App Engine
This is Rietveld 408576698