Index: tests/compiler/dart2js/analyze_unused_dart2js_test.dart |
diff --git a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart |
index 4e0472626cff2c1ea22ddf0f19cab52805bbca80..03930aaa949107fbb365311af067f7292ad018ae 100644 |
--- a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart |
+++ b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart |
@@ -56,6 +56,6 @@ bool checkResults(Compiler compiler, CollectingDiagnosticHandler handler) { |
} |
} |
} |
- compiler.libraries['$helperUri'].forEachLocalMember(checkLive); |
+ compiler.libraryLoader.lookupLibrary(helperUri).forEachLocalMember(checkLive); |
return handler.checkResults(); |
} |