Index: pkg/compiler/lib/src/dump_info.dart |
diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart |
index 082cd1c5eaa6ad3db405ea4ec22bbea41e485a2d..c8b36b8d8b61b5e04cabc04b629cef9a62494cda 100644 |
--- a/pkg/compiler/lib/src/dump_info.dart |
+++ b/pkg/compiler/lib/src/dump_info.dart |
@@ -367,7 +367,7 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> { |
} |
class Selection { |
- final Element selectedElement; |
+ final Entity selectedElement; |
final ReceiverConstraint mask; |
Selection(this.selectedElement, this.mask); |
} |
@@ -458,7 +458,7 @@ class DumpInfoTask extends CompilerTask implements InfoReporter { |
new WorldImpactVisitorImpl(visitDynamicUse: (dynamicUse) { |
selections.addAll(closedWorld |
.locateMembers(dynamicUse.selector, dynamicUse.mask) |
- .map((MemberElement e) => new Selection(e, dynamicUse.mask))); |
+ .map((MemberEntity e) => new Selection(e, dynamicUse.mask))); |
}, visitStaticUse: (staticUse) { |
selections.add(new Selection(staticUse.element, null)); |
}), |