Index: tests/compiler/dart2js/type_combination_test.dart |
diff --git a/tests/compiler/dart2js/type_combination_test.dart b/tests/compiler/dart2js/type_combination_test.dart |
index e624702c5f1048ddc9d8bc3b6084da4905a0f6e6..b2cbd5c4902f028ec8c1fb0a0647a533fdde6780 100644 |
--- a/tests/compiler/dart2js/type_combination_test.dart |
+++ b/tests/compiler/dart2js/type_combination_test.dart |
@@ -415,7 +415,6 @@ void testUnion(MockCompiler compiler) { |
} |
void testIntersection(MockCompiler compiler) { |
- JavaScriptBackend backend = compiler.backend; |
ClosedWorld closedWorld = |
compiler.resolutionWorldBuilder.closedWorldForTesting; |
RuleSet ruleSet = |
@@ -563,12 +562,12 @@ void testIntersection(MockCompiler compiler) { |
jsIndexable, |
potentialArray, |
new TypeMask.nonNullSubtype( |
- backend.commonElements.jsArrayClass, closedWorld)); |
+ closedWorld.commonElements.jsArrayClass, closedWorld)); |
rule( |
jsIndexable, |
potentialString, |
new TypeMask.nonNullSubtype( |
- backend.commonElements.jsStringClass, closedWorld)); |
+ closedWorld.commonElements.jsStringClass, closedWorld)); |
rule(jsIndexable, jsBooleanOrNull, emptyType); |
rule(jsIndexable, jsNumberOrNull, emptyType); |
rule(jsIndexable, jsIntegerOrNull, emptyType); |