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

Unified Diff: test/dart_codegen/expect/collection/linked_list.dart

Issue 1050703002: Downwards closure inference (Closed) Base URL: git@github.com:dart-lang/dart-dev-compiler.git@master
Patch Set: Address comments 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
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.txt ('k') | test/dart_codegen/expect/collection/list.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/collection/linked_list.dart
diff --git a/test/dart_codegen/expect/collection/linked_list.dart b/test/dart_codegen/expect/collection/linked_list.dart
index 5e2e8a9a6774902fd2a775c9e94e6f20b7fae6ba..bcae58a8f3838c51b964a70bd20a8c81e9fbf9b4 100644
--- a/test/dart_codegen/expect/collection/linked_list.dart
+++ b/test/dart_codegen/expect/collection/linked_list.dart
@@ -13,13 +13,7 @@ part of dart.collection;
_insertAfter(_previous, entry);
}
void addAll(Iterable<E> entries) {
- entries.forEach(((__x10) => DEVC$RT.wrap((void f(dynamic __u5)) {
- void c(dynamic x0) => f(x0);
- return f == null ? null : c;
- }
- , __x10, __t8, DEVC$RT.type((__t6<E> _) {
- }
- ), "WrapLiteral", """line 65, column 21 of dart:collection/linked_list.dart: """, __x10 is __t6<E>))((entry) => _insertAfter(_previous, DEVC$RT.cast(entry, dynamic, E, "CompositeCast", """line 65, column 56 of dart:collection/linked_list.dart: """, entry is E, false))));
+ entries.forEach((entry) => _insertAfter(_previous, DEVC$RT.cast(entry, dynamic, E, "CompositeCast", """line 65, column 56 of dart:collection/linked_list.dart: """, entry is E, false)));
}
bool remove(E entry) {
if (entry._list != this) return false;
@@ -139,5 +133,3 @@ _list._insertAfter(this, entry);
_list._insertAfter(_previous, entry);
}
}
- typedef void __t6<E>(E __u7);
- typedef void __t8(dynamic __u9);
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.txt ('k') | test/dart_codegen/expect/collection/list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698