Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: pkg/compiler/lib/src/enqueue.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/enqueue.dart
diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart
index 12c5a42bb0382d4fb7fae6d83722c78a68889c3b..9b8a5c2938119039c98a00c8880c1e734e1dd5a9 100644
--- a/pkg/compiler/lib/src/enqueue.dart
+++ b/pkg/compiler/lib/src/enqueue.dart
@@ -914,11 +914,9 @@ class _EnqueuerImpactVisitor implements WorldImpactVisitor {
-typedef void _DeferredActionFunction();
class _DeferredAction {
final Element element;
- final _DeferredActionFunction action;
+ final ()->void action;
_DeferredAction(this.element, this.action);

Powered by Google App Engine
This is Rietveld 408576698