Index: tests/compiler/dart2js/map_tracer_test.dart |
diff --git a/tests/compiler/dart2js/map_tracer_test.dart b/tests/compiler/dart2js/map_tracer_test.dart |
index 3f6c347cf12c71b0b871b9e2cdac24b18845d7d0..6c4af67e85e99525e2acc0b967f0085430c2699b 100644 |
--- a/tests/compiler/dart2js/map_tracer_test.dart |
+++ b/tests/compiler/dart2js/map_tracer_test.dart |
@@ -211,7 +211,7 @@ void doTest(String allocation, [String keyElement, String valueElement]) { |
Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(generateTest(allocation), uri, |
expectedErrors: 0, expectedWarnings: 1); |
- var classWorld = compiler.closedWorld; |
+ var classWorld = compiler.openWorld.closeWorld(); |
asyncTest(() => compiler.run(uri).then((_) { |
var keyType, valueType; |
var commonMasks = compiler.commonMasks; |