Index: sdk/lib/_internal/compiler/implementation/enqueue.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/enqueue.dart b/sdk/lib/_internal/compiler/implementation/enqueue.dart |
index ba87ef59213c85504f6cabf5199c0ac96d7998e3..ea982789a8fa13ca6bf04296f5a2ec68b8fc0238 100644 |
--- a/sdk/lib/_internal/compiler/implementation/enqueue.dart |
+++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart |
@@ -417,7 +417,7 @@ class ResolutionEnqueuer extends Enqueuer { |
// isolate library, or timers for the async library. |
LibraryElement library = element.getLibrary(); |
if (!compiler.hasIsolateSupport()) { |
- String uri = library.uri.toString(); |
+ String uri = library.canonicalUri.toString(); |
if (uri == 'dart:isolate') { |
enableIsolateSupport(library); |
} else if (uri == 'dart:async') { |