Index: tests/compiler/dart2js/related_types.dart |
diff --git a/tests/compiler/dart2js/related_types.dart b/tests/compiler/dart2js/related_types.dart |
index d3f04e3c90a42279f96219cf1d88215772b8cac9..32f5139f26c5f461391f614a78a4f5c2fcb7131c 100644 |
--- a/tests/compiler/dart2js/related_types.dart |
+++ b/tests/compiler/dart2js/related_types.dart |
@@ -76,7 +76,7 @@ class RelatedTypesChecker extends TraversalVisitor<DartType, dynamic> { |
: this.resolvedAst = resolvedAst, |
super(resolvedAst.elements); |
- ClassWorld get world => compiler.world; |
+ ClassWorld get world => compiler.closedWorld; |
CoreClasses get coreClasses => compiler.coreClasses; |