Index: pkg/compiler/lib/src/deferred_load.dart |
diff --git a/pkg/compiler/lib/src/deferred_load.dart b/pkg/compiler/lib/src/deferred_load.dart |
index 971a1d98b3a1854a5a7b96cfd9bcc3d4a0c21419..77d9266b5a19fd28d376ec1dcd017154bb4fb5d6 100644 |
--- a/pkg/compiler/lib/src/deferred_load.dart |
+++ b/pkg/compiler/lib/src/deferred_load.dart |
@@ -444,7 +444,8 @@ class DeferredLoadTask extends CompilerTask { |
// If we see a class, add everything its live instance members refer |
// to. Static members are not relevant, unless we are processing |
// extra dependencies due to mirrors. |
- void addLiveInstanceMember(_, MemberElement element) { |
+ void addLiveInstanceMember(_, _element) { |
+ MemberElement element = _element; |
if (!compiler.resolutionWorldBuilder.isMemberUsed(element)) return; |
if (!isMirrorUsage && !element.isInstanceMember) return; |
elements.add(element); |