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

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

Issue 1112403004: SDK fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Formatting fix 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
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 f40e73923c62bb4941d7ef13880468d520baeb4b..335bad7bc9ac020642e739ca03c55658021f61ce 100644
--- a/test/dart_codegen/expect/_internal/iterable.dart
+++ b/test/dart_codegen/expect/_internal/iterable.dart
@@ -577,10 +577,10 @@ RangeError.checkNotNegative(count, "count");
return this;
}
Iterable<E> takeWhile(bool test(E element)) => this;
- List toList({
+ List<E> toList({
bool growable : true}
) => growable ? <E> [] : new List<E>(0);
- Set toSet() => new Set<E>();
+ Set<E> toSet() => new Set<E>();
}
class EmptyIterator<E> implements Iterator<E> {const EmptyIterator();
bool moveNext() => false;

Powered by Google App Engine
This is Rietveld 408576698