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

Unified Diff: test/dart_codegen/expect/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/dart_codegen/expect/core/list.dart
diff --git a/test/dart_codegen/expect/core/list.dart b/test/dart_codegen/expect/core/list.dart
index 0238c0db5362f8d6d0789d1e484eff3a4308cbfa..29544b59cd2185b4c9d030060cc813ac22ed7033 100644
--- a/test/dart_codegen/expect/core/list.dart
+++ b/test/dart_codegen/expect/core/list.dart
@@ -1,5 +1,5 @@
part of dart.core;
- abstract class List<E> implements Iterable<E>, EfficientLength {external factory List([int length]);
+ @SupportJsExtensionMethod() @JsPeerInterface(name: 'Array') abstract class List<E> implements Iterable<E>, EfficientLength {external factory List([int length]);
external factory List.filled(int length, E fill);
external factory List.from(Iterable elements, {
bool growable : true}

Powered by Google App Engine
This is Rietveld 408576698