Index: pkg/front_end/lib/src/fasta/parser/parser.dart |
diff --git a/pkg/front_end/lib/src/fasta/parser/parser.dart b/pkg/front_end/lib/src/fasta/parser/parser.dart |
index b8f8b3002edcfd0d61795e36ed6b34e2195113e3..db73c6aa64daaf69b6c362e35da60e00caab4122 100644 |
--- a/pkg/front_end/lib/src/fasta/parser/parser.dart |
+++ b/pkg/front_end/lib/src/fasta/parser/parser.dart |
@@ -1245,7 +1245,7 @@ class Parser { |
token = token.next; |
token = parseTypeVariablesOpt(token); |
token = parseFormalParameters(token, MemberKind.GeneralizedFunctionType); |
- listener.handleFunctionType(functionToken, token); |
+ listener.endFunctionType(functionToken, token); |
return token; |
} |