Index: tests/compiler/dart2js/world_test.dart |
diff --git a/tests/compiler/dart2js/world_test.dart b/tests/compiler/dart2js/world_test.dart |
index a70832f1434bbe6a79f8c3291e8a62094ef798db..1a3823a7d918b0237a8def408dbb87b9ad442904 100644 |
--- a/tests/compiler/dart2js/world_test.dart |
+++ b/tests/compiler/dart2js/world_test.dart |
@@ -243,7 +243,7 @@ testProperties() async { |
ClosedWorld closedWorld = env.closedWorld; |
check(String name, {bool hasStrictSubtype, bool hasOnlySubclasses}) { |
- ClassEntity cls = env.getElement(name); |
+ ClassElement cls = env.getElement(name); |
Expect.equals(hasStrictSubtype, closedWorld.hasAnyStrictSubtype(cls), |
"Unexpected hasAnyStrictSubtype property on $cls."); |
Expect.equals(hasOnlySubclasses, closedWorld.hasOnlySubclasses(cls), |
@@ -541,7 +541,6 @@ testCommonSubclasses() async { |
useMockCompiler: false); |
ClosedWorld closedWorld = env.closedWorld; |
- ClassElement Object_ = env.getElement("Object"); |
ClassElement A = env.getElement("A"); |
ClassElement B = env.getElement("B"); |
ClassElement C = env.getElement("C"); |