| Index: pkg/analyzer/lib/src/generated/source_io.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/source_io.dart b/pkg/analyzer/lib/src/generated/source_io.dart
|
| index 33320a8c800b13abdb0a39b0217c3ceb59378e4e..fa32b4b3580147f93e7b55c3da20fa43cb4b26be 100644
|
| --- a/pkg/analyzer/lib/src/generated/source_io.dart
|
| +++ b/pkg/analyzer/lib/src/generated/source_io.dart
|
| @@ -460,7 +460,8 @@ class PackageUriResolver extends UriResolver {
|
| if (_isSelfReference(packagesDirectory, canonicalFile)) {
|
| uri = canonicalFile.toURI();
|
| }
|
| - return new FileBasedSource(canonicalFile, uri);
|
| + return new FileBasedSource(
|
| + canonicalFile, actualUri != null ? actualUri : uri);
|
| }
|
| }
|
| return new FileBasedSource(
|
|
|