Index: pkg/compiler/lib/src/types/forwarding_type_mask.dart |
diff --git a/pkg/compiler/lib/src/types/forwarding_type_mask.dart b/pkg/compiler/lib/src/types/forwarding_type_mask.dart |
index cdf4f16943381557a5f8394fbcfffabb5bbde53e..f285a59fefae7f1ab0f59466cc70baa5f101c834 100644 |
--- a/pkg/compiler/lib/src/types/forwarding_type_mask.dart |
+++ b/pkg/compiler/lib/src/types/forwarding_type_mask.dart |
@@ -54,23 +54,23 @@ abstract class ForwardingTypeMask implements TypeMask { |
return forwardTo.containsOnlyString(closedWorld); |
} |
- bool containsOnly(ClassElement element) { |
- return forwardTo.containsOnly(element); |
+ bool containsOnly(Entity cls) { |
+ return forwardTo.containsOnly(cls); |
} |
- bool satisfies(ClassElement cls, ClosedWorld closedWorld) { |
+ bool satisfies(Entity cls, ClosedWorld closedWorld) { |
return forwardTo.satisfies(cls, closedWorld); |
} |
- bool contains(ClassElement type, ClosedWorld closedWorld) { |
- return forwardTo.contains(type, closedWorld); |
+ bool contains(Entity cls, ClosedWorld closedWorld) { |
+ return forwardTo.contains(cls, closedWorld); |
} |
bool containsAll(ClosedWorld closedWorld) { |
return forwardTo.containsAll(closedWorld); |
} |
- ClassElement singleClass(ClosedWorld closedWorld) { |
+ Entity singleClass(ClosedWorld closedWorld) { |
return forwardTo.singleClass(closedWorld); |
} |