Index: tests/compiler/dart2js/inference/inference_test_helper.dart |
diff --git a/tests/compiler/dart2js/inference/inference_test_helper.dart b/tests/compiler/dart2js/inference/inference_test_helper.dart |
index f1259cced2c060d2396e7af49ada465c30528603..a7252caf5695ef105e9ca9fc2e48e4a754833e08 100644 |
--- a/tests/compiler/dart2js/inference/inference_test_helper.dart |
+++ b/tests/compiler/dart2js/inference/inference_test_helper.dart |
@@ -46,7 +46,7 @@ checkCode(String annotatedCode, CheckMemberFunction checkMember, |
expectedMap.forEach((Id id, String expected) { |
reportHere( |
compiler.reporter, |
- computeSpannable(compiler.elementEnvironment, mainUri, id), |
+ computeSpannable(compiler.resolution.elementEnvironment, mainUri, id), |
'expected:${expected},actual:null'); |
}); |
Expect.isTrue(expectedMap.isEmpty, "Ids not found: $expectedMap."); |