Index: tests/compiler/dart2js/assert_message_throw_test.dart |
diff --git a/tests/compiler/dart2js/assert_message_throw_test.dart b/tests/compiler/dart2js/assert_message_throw_test.dart |
index 74498d5e560be51731ec4657d851978afe79b41e..898e3aa2014046d6b619da7011cc11fdcdb3b2ef 100644 |
--- a/tests/compiler/dart2js/assert_message_throw_test.dart |
+++ b/tests/compiler/dart2js/assert_message_throw_test.dart |
@@ -59,7 +59,7 @@ main() { |
memorySourceFiles: {'main.dart': SOURCE}, |
options: [Flags.enableCheckedMode, Flags.enableAssertMessage]); |
Compiler compiler = result.compiler; |
- ClosedWorld closedWorld = compiler.closedWorld; |
+ ClosedWorld closedWorld = compiler.resolverWorld.closedWorldForTesting; |
void check(String methodName, TypeMask expectedReturnType) { |
Element element = compiler.mainApp.find(methodName); |