Index: tests/compiler/dart2js/type_representation_test.dart |
diff --git a/tests/compiler/dart2js/type_representation_test.dart b/tests/compiler/dart2js/type_representation_test.dart |
index f0c6aa194e2538680673fed0cbc6f8dc45d7b031..0a345a6b06873f3c61592df08b07f048031151a9 100644 |
--- a/tests/compiler/dart2js/type_representation_test.dart |
+++ b/tests/compiler/dart2js/type_representation_test.dart |
@@ -50,7 +50,7 @@ void testTypeRepresentations() { |
env.compiler.backend.onCodegenStart( |
closedWorld, |
new ElementCodegenWorldBuilderImpl( |
- env.compiler.elementEnvironment, |
+ closedWorld.elementEnvironment, |
env.compiler.backend.nativeBasicData, |
closedWorld, |
const TypeMaskStrategy())); |