Index: pkg/analyzer/lib/src/fasta/ast_builder.dart |
diff --git a/pkg/analyzer/lib/src/fasta/ast_builder.dart b/pkg/analyzer/lib/src/fasta/ast_builder.dart |
index 246972e45dbb854fdec7b6f532771a3d4374fc30..8a2c5565d6a6048b9a1cb2e0b65b9f1ac420fa1c 100644 |
--- a/pkg/analyzer/lib/src/fasta/ast_builder.dart |
+++ b/pkg/analyzer/lib/src/fasta/ast_builder.dart |
@@ -1533,12 +1533,12 @@ class AstBuilder extends ScopeListener { |
pop(); // constructor initializers |
pop(); // separator before constructor initializers |
FormalParameterList parameters = pop(); |
- TypeParameterList typeParameters = pop(); |
- FunctionExpression functionExpression = |
- ast.functionExpression(typeParameters, parameters, body); |
SimpleIdentifier name = pop(); |
TypeAnnotation returnType = pop(); |
pop(); // modifiers |
+ TypeParameterList typeParameters = pop(); |
+ FunctionExpression functionExpression = |
+ ast.functionExpression(typeParameters, parameters, body); |
push(ast.functionDeclarationStatement(ast.functionDeclaration( |
null, null, null, returnType, null, name, functionExpression))); |
} |