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

Unified Diff: test/dart_codegen/expect/_internal/iterable.dart

Issue 1070453002: Refactor reifier to make it less dart_codegen specific. (Closed) Base URL: git@github.com:dart-lang/dart-dev-compiler.git@master
Patch Set: Address comments, rebase Created 5 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
« no previous file with comments | « lib/src/codegen/reify_coercions.dart ('k') | test/dart_codegen/expect/async/future_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/_internal/iterable.dart
diff --git a/test/dart_codegen/expect/_internal/iterable.dart b/test/dart_codegen/expect/_internal/iterable.dart
index bec33f97e18146953a5c6d8440d327a5b1d53e2c..635abecffcac54f0f2ac5e8f6300365299c989e8 100644
--- a/test/dart_codegen/expect/_internal/iterable.dart
+++ b/test/dart_codegen/expect/_internal/iterable.dart
@@ -372,11 +372,11 @@ if (_currentExpansion == null) return false;
_current = null;
if (_iterator.moveNext()) {
_currentExpansion = null;
- _currentExpansion = ((__x4) => DEVC$RT.cast(__x4, DEVC$RT.type((Iterator<dynamic> _) {
+ _currentExpansion = ((__x2) => DEVC$RT.cast(__x2, DEVC$RT.type((Iterator<dynamic> _) {
}
), DEVC$RT.type((Iterator<T> _) {
}
-), "CompositeCast", """line 481, column 29 of dart:_internal/iterable.dart: """, __x4 is Iterator<T>, false))(_f(_iterator.current).iterator);
+), "CompositeCast", """line 481, column 29 of dart:_internal/iterable.dart: """, __x2 is Iterator<T>, false))(_f(_iterator.current).iterator);
}
else {
return false;
@@ -430,9 +430,9 @@ if (_remaining < 0) return null;
final _ElementPredicate _f;
TakeWhileIterable(this._iterable, bool this._f(E element));
Iterator<E> get iterator {
-return new TakeWhileIterator<E>(_iterable.iterator, DEVC$RT.cast(_f, null, DEVC$RT.type((__t5<E> _) {
+return new TakeWhileIterator<E>(_iterable.iterator, DEVC$RT.cast(_f, null, DEVC$RT.type((__t3<E> _) {
}
-), "CompositeCast", """line 555, column 57 of dart:_internal/iterable.dart: """, _f is __t5<E>, false));
+), "CompositeCast", """line 555, column 57 of dart:_internal/iterable.dart: """, _f is __t3<E>, false));
}
}
class TakeWhileIterator<E> extends Iterator<E> {final Iterator<E> _iterator;
@@ -499,9 +499,9 @@ for (int i = 0; i < _skipCount; i++) _iterator.moveNext();
final _ElementPredicate _f;
SkipWhileIterable(this._iterable, bool this._f(E element));
Iterator<E> get iterator {
-return new SkipWhileIterator<E>(_iterable.iterator, DEVC$RT.cast(_f, null, DEVC$RT.type((__t9<E> _) {
+return new SkipWhileIterator<E>(_iterable.iterator, DEVC$RT.cast(_f, null, DEVC$RT.type((__t5<E> _) {
}
-), "CompositeCast", """line 648, column 57 of dart:_internal/iterable.dart: """, _f is __t9<E>, false));
+), "CompositeCast", """line 648, column 57 of dart:_internal/iterable.dart: """, _f is __t5<E>, false));
}
}
class SkipWhileIterator<E> extends Iterator<E> {final Iterator<E> _iterator;
@@ -752,9 +752,9 @@ return new WhereIterable<T>(DEVC$RT.cast(iterable, DEVC$RT.type((Iterable<dynami
}
), DEVC$RT.type((Iterable<T> _) {
}
-), "CompositeCast", """line 961, column 33 of dart:_internal/iterable.dart: """, iterable is Iterable<T>, false), DEVC$RT.cast(f, null, DEVC$RT.type((__t11<T> _) {
+), "CompositeCast", """line 961, column 33 of dart:_internal/iterable.dart: """, iterable is Iterable<T>, false), DEVC$RT.cast(f, null, DEVC$RT.type((__t7<T> _) {
}
-), "CompositeCast", """line 961, column 43 of dart:_internal/iterable.dart: """, f is __t11<T>, false));
+), "CompositeCast", """line 961, column 43 of dart:_internal/iterable.dart: """, f is __t7<T>, false));
}
static Iterable map(Iterable iterable, f(var element)) {
return new MappedIterable(iterable, f);
@@ -777,9 +777,9 @@ return new TakeWhileIterable<T>(DEVC$RT.cast(iterable, DEVC$RT.type((Iterable<dy
}
), DEVC$RT.type((Iterable<T> _) {
}
-), "CompositeCast", """line 983, column 37 of dart:_internal/iterable.dart: """, iterable is Iterable<T>, false), DEVC$RT.cast(test, null, DEVC$RT.type((__t11<T> _) {
+), "CompositeCast", """line 983, column 37 of dart:_internal/iterable.dart: """, iterable is Iterable<T>, false), DEVC$RT.cast(test, null, DEVC$RT.type((__t7<T> _) {
}
-), "CompositeCast", """line 983, column 47 of dart:_internal/iterable.dart: """, test is __t11<T>, false));
+), "CompositeCast", """line 983, column 47 of dart:_internal/iterable.dart: """, test is __t7<T>, false));
}
Iterable<T> skipList(List list, int n) {
return new SubListIterable<T>(DEVC$RT.cast(list, DEVC$RT.type((List<dynamic> _) {
@@ -793,9 +793,9 @@ return new SkipWhileIterable<T>(DEVC$RT.cast(iterable, DEVC$RT.type((Iterable<dy
}
), DEVC$RT.type((Iterable<T> _) {
}
-), "CompositeCast", """line 993, column 37 of dart:_internal/iterable.dart: """, iterable is Iterable<T>, false), DEVC$RT.cast(test, null, DEVC$RT.type((__t11<T> _) {
+), "CompositeCast", """line 993, column 37 of dart:_internal/iterable.dart: """, iterable is Iterable<T>, false), DEVC$RT.cast(test, null, DEVC$RT.type((__t7<T> _) {
}
-), "CompositeCast", """line 993, column 47 of dart:_internal/iterable.dart: """, test is __t11<T>, false));
+), "CompositeCast", """line 993, column 47 of dart:_internal/iterable.dart: """, test is __t7<T>, false));
}
Iterable<T> reversedList(List list) {
return new ReversedListIterable<T>(DEVC$RT.cast(list, DEVC$RT.type((List<dynamic> _) {
@@ -956,8 +956,7 @@ result.add(element);
static StateError tooFew() => new StateError("Too few elements");
}
typedef Iterable<T> __t0<S, T>(S __u1);
- typedef Iterable<dynamic> __t2(dynamic __u3);
+ typedef bool __t3<E>(E __u4);
typedef bool __t5<E>(E __u6);
- typedef bool __t7(dynamic __u8);
- typedef bool __t9<E>(E __u10);
- typedef bool __t11<T>(T __u12);
+ typedef bool __t7<T>(T __u8);
+ typedef bool __t9(dynamic __u10);
« no previous file with comments | « lib/src/codegen/reify_coercions.dart ('k') | test/dart_codegen/expect/async/future_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698