Index: pkg/compiler/lib/src/world.dart |
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart |
index 1744f3eb2d94d42ab3417d2305cc4f027011deae..bcaff044f4151cf883c9e542cb0d0117e496b1ef 100644 |
--- a/pkg/compiler/lib/src/world.dart |
+++ b/pkg/compiler/lib/src/world.dart |
@@ -15,8 +15,7 @@ import 'elements/elements.dart' |
Element, |
MemberElement, |
MethodElement, |
- MixinApplicationElement, |
- TypedefElement; |
+ MixinApplicationElement; |
import 'elements/resolution_types.dart'; |
import 'elements/types.dart'; |
import 'js_backend/backend_usage.dart' show BackendUsage; |
@@ -293,7 +292,7 @@ abstract class ClosedWorld implements World { |
TypeMask extendMaskIfReachesAll(Selector selector, TypeMask mask); |
/// Returns all resolved typedefs. |
- Iterable<TypedefElement> get allTypedefs; |
+ Iterable<TypedefEntity> get allTypedefs; |
/// Returns the mask for the potential receivers of a dynamic call to |
/// [selector] on [mask]. |
@@ -388,7 +387,7 @@ abstract class OpenWorld implements World { |
void registerClass(covariant ClassEntity cls); |
void registerUsedElement(MemberEntity element); |
- void registerTypedef(TypedefElement typedef); |
+ void registerTypedef(TypedefEntity typedef); |
ClosedWorld closeWorld(); |
@@ -417,7 +416,7 @@ abstract class ClosedWorldBase implements ClosedWorld, ClosedWorldRefiner { |
FunctionSet _allFunctions; |
- final Set<TypedefElement> _allTypedefs; |
+ final Set<TypedefEntity> _allTypedefs; |
final Map<ClassEntity, Set<ClassEntity>> mixinUses; |
Map<ClassEntity, List<ClassEntity>> _liveMixinUses; |
@@ -473,7 +472,7 @@ abstract class ClosedWorldBase implements ClosedWorld, ClosedWorldRefiner { |
this.liveNativeClasses, |
this.liveInstanceMembers, |
this.assignedInstanceMembers, |
- Set<TypedefElement> allTypedefs, |
+ Set<TypedefEntity> allTypedefs, |
this.mixinUses, |
this.typesImplementedBySubclasses, |
Map<ClassEntity, ClassHierarchyNode> classHierarchyNodes, |
@@ -1016,7 +1015,7 @@ abstract class ClosedWorldBase implements ClosedWorld, ClosedWorldRefiner { |
return _classSets[cls]; |
} |
- Iterable<TypedefElement> get allTypedefs => _allTypedefs; |
+ Iterable<TypedefEntity> get allTypedefs => _allTypedefs; |
void _ensureFunctionSet() { |
if (_allFunctions == null) { |
@@ -1196,7 +1195,7 @@ class ClosedWorldImpl extends ClosedWorldBase with ClosedWorldRtiNeedMixin { |
Iterable<ClassEntity> liveNativeClasses, |
Iterable<MemberEntity> liveInstanceMembers, |
Iterable<MemberEntity> assignedInstanceMembers, |
- Set<TypedefElement> allTypedefs, |
+ Set<TypedefEntity> allTypedefs, |
Map<ClassEntity, Set<ClassEntity>> mixinUses, |
Map<ClassEntity, Set<ClassEntity>> typesImplementedBySubclasses, |
Map<ClassEntity, ClassHierarchyNode> classHierarchyNodes, |