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 9ddc36948b1bcba7351c9d757cdeaa88ae1c9f6d..0c4581d172e111a9ab479297cf5fbd54ce067af0 100644 |
--- a/pkg/analyzer/lib/src/fasta/ast_builder.dart |
+++ b/pkg/analyzer/lib/src/fasta/ast_builder.dart |
@@ -290,7 +290,7 @@ class AstBuilder extends ScopeListener { |
push(ast.blockFunctionBody(asyncKeyword, star, block)); |
} |
- void finishFunction(formals, asyncModifier, FunctionBody body) { |
+ void finishFunction(annotations, formals, asyncModifier, FunctionBody body) { |
debugEvent("finishFunction"); |
Statement bodyStatement; |
if (body is EmptyFunctionBody) { |