Index: pkg/analyzer/lib/src/dart/element/builder.dart |
diff --git a/pkg/analyzer/lib/src/dart/element/builder.dart b/pkg/analyzer/lib/src/dart/element/builder.dart |
index 236156818bc35b0af603fe960475cfda4f083874..535f4ead889791cca45f33c54b99ac19a93d4c1c 100644 |
--- a/pkg/analyzer/lib/src/dart/element/builder.dart |
+++ b/pkg/analyzer/lib/src/dart/element/builder.dart |
@@ -182,7 +182,7 @@ class DirectiveElementBuilder extends SimpleAstVisitor<Object> { |
exportElement.uriOffset = uriLiteral.offset; |
exportElement.uriEnd = uriLiteral.end; |
} |
- exportElement.uri = node.uriContent; |
+ exportElement.uri = node.selectedUri; |
exportElement.combinators = _buildCombinators(node); |
exportElement.exportedLibrary = exportedLibrary; |
setElementDocumentationComment(exportElement, node); |
@@ -227,7 +227,7 @@ class DirectiveElementBuilder extends SimpleAstVisitor<Object> { |
importElement.uriOffset = uriLiteral.offset; |
importElement.uriEnd = uriLiteral.end; |
} |
- importElement.uri = node.uriContent; |
+ importElement.uri = node.selectedUri; |
importElement.deferred = node.deferredKeyword != null; |
importElement.combinators = _buildCombinators(node); |
importElement.importedLibrary = importedLibrary; |