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

Unified Diff: pkg/compiler/lib/src/library_loader.dart

Issue 2466393002: Change to <- for types.
Patch Set: Fixes. Created 4 years, 1 month 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 | « pkg/compiler/lib/src/kernel/kernel.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/library_loader.dart
diff --git a/pkg/compiler/lib/src/library_loader.dart b/pkg/compiler/lib/src/library_loader.dart
index c7c6e86a39067e77bf3ee672be77a370b4f4b2f2..3e54cf5b7472acd952cbfe2abc85b31072446160 100644
--- a/pkg/compiler/lib/src/library_loader.dart
+++ b/pkg/compiler/lib/src/library_loader.dart
@@ -34,9 +34,6 @@ import 'serialization/serialization.dart' show LibraryDeserializer;
import 'tree/tree.dart';
import 'util/util.dart' show Link, LinkBuilder;
-typedef Future<Iterable<LibraryElement>> ReuseLibrariesFunction(
- Iterable<LibraryElement> libraries);
-
/**
* [CompilerTask] for loading libraries and setting up the import/export scopes.
*
@@ -170,7 +167,9 @@ abstract class LibraryLoaderTask implements LibraryProvider, CompilerTask {
/// Similar to [resetAsync] but [reuseLibrary] maps all libraries to a list
/// of libraries that can be reused.
- Future<Null> resetLibraries(ReuseLibrariesFunction reuseLibraries);
+ Future<Null> resetLibraries(
+ Future<Iterable<LibraryElement>> <- (Iterable<LibraryElement>)
+ reuseLibraries);
}
/// Interface for an entity that provide libraries. For instance from normal
« no previous file with comments | « pkg/compiler/lib/src/kernel/kernel.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698