Index: pkg/analyzer/lib/src/dart/ast/utilities.dart |
diff --git a/pkg/analyzer/lib/src/dart/ast/utilities.dart b/pkg/analyzer/lib/src/dart/ast/utilities.dart |
index 57e0ce074dd8964ea516390153395a6cbc634da9..e6bc9d770724b43c3fd4e3b8a5f695afed304434 100644 |
--- a/pkg/analyzer/lib/src/dart/ast/utilities.dart |
+++ b/pkg/analyzer/lib/src/dart/ast/utilities.dart |
@@ -384,6 +384,7 @@ class AstCloner implements AstVisitor<AstNode> { |
cloneNodeList(node.configurations), |
cloneNodeList(node.combinators), |
cloneToken(node.semicolon)); |
+ directive.selectedUri = node.selectedUri; |
directive.selectedSource = node.selectedSource; |
directive.uriSource = node.uriSource; |
directive.uriContent = node.uriContent; |
@@ -559,6 +560,7 @@ class AstCloner implements AstVisitor<AstNode> { |
cloneNode(node.prefix), |
cloneNodeList(node.combinators), |
cloneToken(node.semicolon)); |
+ directive.selectedUri = node.selectedUri; |
directive.selectedSource = node.selectedSource; |
directive.uriSource = node.uriSource; |
directive.uriContent = node.uriContent; |