Index: pkg/analyzer/lib/src/generated/testing/ast_factory.dart |
diff --git a/pkg/analyzer/lib/src/generated/testing/ast_factory.dart b/pkg/analyzer/lib/src/generated/testing/ast_factory.dart |
index 0be2aaa770da609636a2b9856ca468fb69afd43f..00ee216400dca150f932b7df8266b495f25fe732 100644 |
--- a/pkg/analyzer/lib/src/generated/testing/ast_factory.dart |
+++ b/pkg/analyzer/lib/src/generated/testing/ast_factory.dart |
@@ -905,12 +905,11 @@ class AstFactory { |
} |
static VariableDeclaration variableDeclaration(String name) => |
- new VariableDeclaration(null, null, identifier3(name), null, null); |
+ new VariableDeclaration(identifier3(name), null, null); |
static VariableDeclaration variableDeclaration2( |
- String name, Expression initializer) => new VariableDeclaration(null, |
- null, identifier3(name), TokenFactory.tokenFromType(TokenType.EQ), |
- initializer); |
+ String name, Expression initializer) => new VariableDeclaration( |
+ identifier3(name), TokenFactory.tokenFromType(TokenType.EQ), initializer); |
static VariableDeclarationList variableDeclarationList(Keyword keyword, |
TypeName type, List<VariableDeclaration> variables) => |