Index: tests/compiler/dart2js/simple_inferrer_final_field2_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_final_field2_test.dart b/tests/compiler/dart2js/simple_inferrer_final_field2_test.dart |
index 04dd4a308c2c9401c1591f3ef75cb04af11fe996..6967d560e33d7f288ba680ca221acb389df61170 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_final_field2_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_final_field2_test.dart |
@@ -37,9 +37,9 @@ void main() { |
typesInferrer.getTypeOfElement(element).containsOnly(type)); |
} |
- checkFieldTypeInClass( |
- 'A', 'intField', compiler.commonElements.jsUInt31Class); |
- checkFieldTypeInClass( |
- 'A', 'stringField', compiler.commonElements.jsStringClass); |
+ checkFieldTypeInClass('A', 'intField', |
+ typesInferrer.closedWorld.commonElements.jsUInt31Class); |
+ checkFieldTypeInClass('A', 'stringField', |
+ typesInferrer.closedWorld.commonElements.jsStringClass); |
})); |
} |