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

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

Issue 2439573003: Experiment with new function-type syntax.
Patch Set: Change a few more typedefs. Created 4 years, 2 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: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 536a2794bbbb4aab262ea5c37792bdea108da24f..4a8af0d84408c4b3d9a0452605ad64525b96eaac 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -80,10 +80,10 @@ import 'universe/world_impact.dart' show ImpactStrategy, WorldImpact;
import 'util/util.dart' show Link, Setlet;
import 'world.dart' show ClosedWorld, ClosedWorldRefiner, OpenWorld, WorldImpl;
-typedef Backend MakeBackendFuncion(Compiler compiler);
+typedef MakeBackendFuncion = (Compiler compiler) -> Backend;
-typedef CompilerDiagnosticReporter MakeReporterFunction(
- Compiler compiler, CompilerOptions options);
+typedef MakeReporterFunction =
+ (Compiler compiler, CompilerOptions options) -> CompilerDiagnosticReporter;
abstract class Compiler implements LibraryLoaderListener {
Measurer get measurer;

Powered by Google App Engine
This is Rietveld 408576698