Index: pkg/compiler/lib/src/enqueue.dart |
diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart |
index 3d2bb00b7c8eec5cfe8714718db6efcd9e6cea79..7730e7d3ee8e2e5de4e3c3d8399fdcc71af678f5 100644 |
--- a/pkg/compiler/lib/src/enqueue.dart |
+++ b/pkg/compiler/lib/src/enqueue.dart |
@@ -613,14 +613,15 @@ abstract class Enqueuer { |
universe.callMethodsWithFreeTypeVariables.add(element); |
} |
- void registerClosurizedMember(Element element, Registry registry) { |
+ void registerClosurizedMember(TypedElement element, Registry registry) { |
assert(element.isInstanceMember); |
registerClosureIfFreeTypeVariables(element, registry); |
compiler.backend.registerBoundClosure(this); |
universe.closurizedMembers.add(element); |
} |
- void registerClosureIfFreeTypeVariables(Element element, Registry registry) { |
+ void registerClosureIfFreeTypeVariables(TypedElement element, |
+ Registry registry) { |
if (element.computeType(compiler).containsTypeVariables) { |
compiler.backend.registerClosureWithFreeTypeVariables( |
element, this, registry); |