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 1f313dada2985ffcd12082a17d5c582fee93f834..8eecc35b03286a401305290fdf6b67338b2214c0 100644 |
--- a/tests/compiler/dart2js/map_tracer_test.dart |
+++ b/tests/compiler/dart2js/map_tracer_test.dart |
@@ -214,7 +214,7 @@ void doTest(String allocation, [String keyElement, |
Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(generateTest(allocation), uri, |
expectedErrors: 0, expectedWarnings: 1); |
- var classWorld = compiler.world; |
+ var classWorld = compiler.closedWorld; |
asyncTest(() => compiler.run(uri).then((_) { |
var keyType, valueType; |
var commonMasks = compiler.commonMasks; |