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 f88c87ee2873b0a709c916017ec35c06d3d02151..fe98fbd5b0be9a1f482e70107af100ca102dee26 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') { |