Index: pkg/compiler/lib/src/resolution/resolution_common.dart |
diff --git a/pkg/compiler/lib/src/resolution/resolution_common.dart b/pkg/compiler/lib/src/resolution/resolution_common.dart |
index 53d3c69b7cf3d3fb9d729f5b228d368fd2740db2..7a8fa963168fccda67200a162afaebc26db3c9c0 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution_common.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution_common.dart |
@@ -7,6 +7,7 @@ library dart2js.resolution.common; |
import '../common.dart'; |
import '../common/resolution.dart' show Resolution; |
import '../elements/elements.dart'; |
+import '../enqueue.dart' show DeferredAction; |
import '../tree/tree.dart'; |
import 'registry.dart' show ResolutionRegistry; |
import 'scope.dart' show Scope; |
@@ -30,7 +31,7 @@ class CommonResolverVisitor<R> extends Visitor<R> { |
R visit(Node node) => (node == null) ? null : node.accept(this); |
void addDeferredAction(Element element, void action()) { |
- resolution.enqueuer.addDeferredAction(element, action); |
+ resolution.enqueuer.addDeferredAction(new DeferredAction(element, action)); |
} |
} |