| 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 2a58ae6dbfcc3a8c525a84b269a5f7552ef7dc96..8a59815db2d0f05bba5f3c01e2f27d3377a2d4af 100644
|
| --- a/pkg/front_end/lib/src/fasta/parser/parser.dart
|
| +++ b/pkg/front_end/lib/src/fasta/parser/parser.dart
|
| @@ -538,7 +538,8 @@ class Parser {
|
| listener.beginFunctionTypedFormalParameter(token);
|
| listener.handleNoTypeVariables(token);
|
| token = parseFormalParameters(token);
|
| - listener.endFunctionTypedFormalParameter(token);
|
| + listener.endFunctionTypedFormalParameter(
|
| + covariantKeyword, thisKeyword, kind);
|
| // Generalized function types don't allow inline function types.
|
| // The following isn't allowed:
|
| // int Function(int bar(String x)).
|
| @@ -551,7 +552,8 @@ class Parser {
|
| listener.beginFunctionTypedFormalParameter(token);
|
| token = parseTypeVariablesOpt(token);
|
| token = parseFormalParameters(token);
|
| - listener.endFunctionTypedFormalParameter(token);
|
| + listener.endFunctionTypedFormalParameter(
|
| + covariantKeyword, thisKeyword, kind);
|
| // Generalized function types don't allow inline function types.
|
| // The following isn't allowed:
|
| // int Function(int bar(String x)).
|
|
|