Index: pkg/compiler/lib/src/compiler.dart |
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
index 761a0597437f1a071ac8e737a177b39e31a3f32f..32898e85abf61c59b451cfec0b765884d872b056 100644 |
--- a/pkg/compiler/lib/src/compiler.dart |
+++ b/pkg/compiler/lib/src/compiler.dart |
@@ -683,7 +683,7 @@ abstract class Compiler { |
for (Uri uri in disallowedLibraryUris) { |
if (loadedLibraries.containsLibrary(uri)) { |
Set<String> importChains = |
- computeImportChainsFor(loadedLibraries, Uri.parse('dart:io')); |
+ computeImportChainsFor(loadedLibraries, uri); |
reporter.reportInfo(NO_LOCATION_SPANNABLE, |
MessageKind.DISALLOWED_LIBRARY_IMPORT, |
{'uri': uri, |