Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: pkg/analyzer/lib/src/generated/ast.dart

Issue 1240283004: few small analyzer AST visitor fixes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: bump pubspec.yaml Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/ast.dart
diff --git a/pkg/analyzer/lib/src/generated/ast.dart b/pkg/analyzer/lib/src/generated/ast.dart
index c386c83fcab0672f524116a05d294237a7b8c1f6..9802e2a714a876afc48acd71346afbd3e67a29d3 100644
--- a/pkg/analyzer/lib/src/generated/ast.dart
+++ b/pkg/analyzer/lib/src/generated/ast.dart
@@ -1617,7 +1617,8 @@ class AstCloner implements AstVisitor<AstNode> {
@override
VariableDeclarationList visitVariableDeclarationList(
- VariableDeclarationList node) => new VariableDeclarationList(null,
+ VariableDeclarationList node) => new VariableDeclarationList(
+ cloneNode(node.documentationComment),
cloneNodeList(node.metadata), cloneToken(node.keyword),
cloneNode(node.type), cloneNodeList(node.variables));
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698