| Index: pkg/compiler/lib/src/parser/parser.dart
|
| diff --git a/pkg/compiler/lib/src/parser/parser.dart b/pkg/compiler/lib/src/parser/parser.dart
|
| index fa4ac4b05de8f8543bd6b9cf3bbe627d00d99685..c09d418f2c39aa7d48c6440a24d0a9ec9baa7ffc 100644
|
| --- a/pkg/compiler/lib/src/parser/parser.dart
|
| +++ b/pkg/compiler/lib/src/parser/parser.dart
|
| @@ -424,12 +424,12 @@ class Parser {
|
| ++parameterCount;
|
| String value = token.stringValue;
|
| if (identical(value, '[')) {
|
| - token = parseOptionalFormalParameters(
|
| - token, false, inFunctionType: inFunctionType);
|
| + token = parseOptionalFormalParameters(token, false,
|
| + inFunctionType: inFunctionType);
|
| break;
|
| } else if (identical(value, '{')) {
|
| - token = parseOptionalFormalParameters(
|
| - token, true, inFunctionType: inFunctionType);
|
| + token = parseOptionalFormalParameters(token, true,
|
| + inFunctionType: inFunctionType);
|
| break;
|
| }
|
| token = parseFormalParameter(token, FormalParameterType.REQUIRED,
|
| @@ -522,8 +522,7 @@ class Parser {
|
| }
|
| var type =
|
| isNamed ? FormalParameterType.NAMED : FormalParameterType.POSITIONAL;
|
| - token =
|
| - parseFormalParameter(token, type, inFunctionType: inFunctionType);
|
| + token = parseFormalParameter(token, type, inFunctionType: inFunctionType);
|
| ++parameterCount;
|
| } while (optional(',', token));
|
| if (parameterCount == 0) {
|
| @@ -1466,7 +1465,7 @@ class Parser {
|
| // Function( ... )
|
| // Function< ... >( ... )
|
|
|
| - Token peek = token.next; // Skip over the Function token.
|
| + Token peek = token.next; // Skip over the Function token.
|
| // If there is a generic argument to the function, skip over that one first.
|
| if (identical(peek.kind, LT_TOKEN)) {
|
| BeginGroupToken beginGroupToken = peek;
|
|
|