| Index: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| index e5dab4558e70e0cfe899e8f90be471eb8fbc11b9..81854ffce2bbcf799dc5c7e913ba80591b8739e1 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| @@ -674,7 +674,7 @@ class Dart2JsLibraryMirror extends Dart2JsContainerMirror
|
|
|
| LibraryElement get _library => _element;
|
|
|
| - Uri get uri => _library.uri;
|
| + Uri get uri => _library.canonicalUri;
|
|
|
| DeclarationMirror get owner => null;
|
|
|
| @@ -698,7 +698,7 @@ class Dart2JsLibraryMirror extends Dart2JsContainerMirror
|
| }
|
| } else {
|
| // Use the file name as script name.
|
| - String path = _library.uri.path;
|
| + String path = _library.canonicalUri.path;
|
| return path.substring(path.lastIndexOf('/') + 1);
|
| }
|
| }
|
|
|