@@ -737,8 +737,8 @@ class BodyBuilder extends StackListenerImpl
737737 for (Statement statement in declaration.users) {
738738 statement.parent! .replaceChild (
739739 statement,
740- wrapInProblemStatement (statement,
741- cfe.templateLabelNotFound.withArguments (name)));
740+ wrapInProblemStatement (
741+ statement, cfe.templateLabelNotFound.withArguments (name)));
742742 }
743743 } else {
744744 outerSwitchScope.forwardDeclareLabel (name, declaration);
@@ -2790,10 +2790,8 @@ class BodyBuilder extends StackListenerImpl
27902790 Name name = new Name (operator );
27912791 if (! isBinaryOperator (operator ) && ! isMinusOperator (operator )) {
27922792 if (isUserDefinableOperator (operator )) {
2793- push (buildProblem (
2794- cfe.templateNotBinaryOperator.withArguments (token),
2795- token.charOffset,
2796- token.length));
2793+ push (buildProblem (cfe.templateNotBinaryOperator.withArguments (token),
2794+ token.charOffset, token.length));
27972795 } else {
27982796 push (buildProblem (cfe.templateInvalidOperator.withArguments (token),
27992797 token.charOffset, token.length));
@@ -3129,8 +3127,8 @@ class BodyBuilder extends StackListenerImpl
31293127 constantContext != ConstantContext .none &&
31303128 ! context.allowedInConstantExpression) {
31313129 // Coverage-ignore-block(suite): Not run.
3132- addProblem (cfe.messageNotAConstantExpression, token.charOffset,
3133- token.length);
3130+ addProblem (
3131+ cfe.messageNotAConstantExpression, token.charOffset, token.length);
31343132 }
31353133 if (token.isSynthetic) {
31363134 push (new ParserRecovery (offsetForToken (token)));
@@ -3398,8 +3396,8 @@ class BodyBuilder extends StackListenerImpl
33983396 if (! (readTarget is Field && readTarget.isConst ||
33993397 // Static tear-offs are also compile time constants.
34003398 readTarget is Procedure )) {
3401- addProblem (cfe.messageNotAConstantExpression, nameOffset,
3402- nameToken.length);
3399+ addProblem (
3400+ cfe.messageNotAConstantExpression, nameOffset, nameToken.length);
34033401 }
34043402 }
34053403 return generator;
@@ -4713,8 +4711,8 @@ class BodyBuilder extends StackListenerImpl
47134711 ]));
47144712
47154713 if (constantContext == ConstantContext .required && constKeyword == null ) {
4716- addProblem (cfe.messageMissingExplicitConst, offsetForToken (leftBrace),
4717- noLength);
4714+ addProblem (
4715+ cfe.messageMissingExplicitConst, offsetForToken (leftBrace), noLength);
47184716 }
47194717
47204718 List <dynamic > setOrMapEntries =
@@ -6405,16 +6403,16 @@ class BodyBuilder extends StackListenerImpl
64056403 ConstantContext savedConstantContext = pop () as ConstantContext ;
64066404
64076405 if (arguments is ! Arguments ) {
6408- push (new ParserErrorGenerator (
6409- this , nameToken, cfe.messageSyntheticToken));
6406+ push (
6407+ new ParserErrorGenerator ( this , nameToken, cfe.messageSyntheticToken));
64106408 arguments = forest.createArguments (offset, []);
64116409 } else if (type is Generator ) {
64126410 push (type.invokeConstructor (
64136411 typeArguments, name, arguments, nameToken, nameLastToken, constness,
64146412 inImplicitCreationContext: inImplicitCreationContext));
64156413 } else if (type is ParserRecovery ) {
6416- push (new ParserErrorGenerator (
6417- this , nameToken, cfe.messageSyntheticToken));
6414+ push (
6415+ new ParserErrorGenerator ( this , nameToken, cfe.messageSyntheticToken));
64186416 } else if (type is InvalidExpression ) {
64196417 push (type);
64206418 } else if (type is Expression ) {
@@ -6511,13 +6509,13 @@ class BodyBuilder extends StackListenerImpl
65116509 required UnresolvedKind unresolvedKind}) {
65126510 if (arguments == null ) {
65136511 // Coverage-ignore-block(suite): Not run.
6514- return buildProblem (cfe.messageMissingArgumentList,
6515- nameToken.charOffset, nameToken. length);
6512+ return buildProblem (cfe.messageMissingArgumentList, nameToken.charOffset,
6513+ nameToken.length);
65166514 }
65176515 if (name.isNotEmpty && arguments.types.isNotEmpty) {
65186516 // TODO(ahe): Point to the type arguments instead.
6519- addProblem (cfe.messageConstructorWithTypeArguments,
6520- nameToken.charOffset, nameToken. length);
6517+ addProblem (cfe.messageConstructorWithTypeArguments, nameToken.charOffset,
6518+ nameToken.length);
65216519 }
65226520
65236521 String ? errorName;
@@ -7101,8 +7099,8 @@ class BodyBuilder extends StackListenerImpl
71017099 // Coverage-ignore(suite): Not run.
71027100 offsetForToken (ifToken);
71037101 node = new MapLiteralEntry (
7104- buildProblem (cfe.templateExpectedAfterButGot. withArguments ( ':' ),
7105- offset, 1 ),
7102+ buildProblem (
7103+ cfe.templateExpectedAfterButGot. withArguments ( ':' ), offset, 1 ),
71067104 new NullLiteral ())
71077105 ..fileOffset = offsetForToken (ifToken);
71087106 }
@@ -7138,8 +7136,8 @@ class BodyBuilder extends StackListenerImpl
71387136 // Coverage-ignore(suite): Not run.
71397137 offsetForToken (ifToken);
71407138 node = new MapLiteralEntry (
7141- buildProblem (cfe.templateExpectedAfterButGot. withArguments ( ':' ),
7142- offset, 1 ),
7139+ buildProblem (
7140+ cfe.templateExpectedAfterButGot. withArguments ( ':' ), offset, 1 ),
71437141 new NullLiteral ())
71447142 ..fileOffset = offsetForToken (ifToken);
71457143 }
@@ -9355,10 +9353,8 @@ class BodyBuilder extends StackListenerImpl
93559353 typeParameter.declaration is ExtensionTypeDeclaration ) {
93569354 if (constantContext != ConstantContext .none &&
93579355 (! inConstructorInitializer || ! allowPotentiallyConstantType)) {
9358- LocatedMessage message =
9359- cfe.messageTypeVariableInConstantContext.withLocation (
9360- builder.fileUri! ,
9361- builder.charOffset! ,
9356+ LocatedMessage message = cfe.messageTypeVariableInConstantContext
9357+ .withLocation (builder.fileUri! , builder.charOffset! ,
93629358 typeParameter.name! .length);
93639359 builder.bind (
93649360 libraryBuilder,
@@ -9450,8 +9446,7 @@ class BodyBuilder extends StackListenerImpl
94509446 ! isConstantExpression &&
94519447 ! libraryFeatures.constFunctions.isEnabled) {
94529448 return buildProblem (
9453- cfe.templateNotConstantExpression
9454- .withArguments ('Method invocation' ),
9449+ cfe.templateNotConstantExpression.withArguments ('Method invocation' ),
94559450 offset,
94569451 name.text.length);
94579452 }
@@ -9480,8 +9475,7 @@ class BodyBuilder extends StackListenerImpl
94809475 ! isConstantExpression &&
94819476 ! libraryFeatures.constFunctions.isEnabled) {
94829477 return buildProblem (
9483- cfe.templateNotConstantExpression
9484- .withArguments ('Method invocation' ),
9478+ cfe.templateNotConstantExpression.withArguments ('Method invocation' ),
94859479 offset,
94869480 name.text.length);
94879481 }
@@ -9904,8 +9898,7 @@ class BodyBuilder extends StackListenerImpl
99049898 if (colon != null ) {
99059899 Object ? identifier = pop ();
99069900 if (identifier is ParserRecovery ) {
9907- push (
9908- new ParserErrorGenerator (this , colon, cfe.messageSyntheticToken));
9901+ push (new ParserErrorGenerator (this , colon, cfe.messageSyntheticToken));
99099902 } else {
99109903 String ? name;
99119904 if (identifier is Identifier ) {
0 commit comments