| Index: pkg/analyzer/lib/src/services/formatter_impl.dart
|
| diff --git a/pkg/analyzer/lib/src/services/formatter_impl.dart b/pkg/analyzer/lib/src/services/formatter_impl.dart
|
| index efdeaf6383ca9f16de69a7a2239dd6c71bac7b85..2f7b9ce33c0bad5ac5fd158f0048fd672a8f490a 100644
|
| --- a/pkg/analyzer/lib/src/services/formatter_impl.dart
|
| +++ b/pkg/analyzer/lib/src/services/formatter_impl.dart
|
| @@ -457,7 +457,7 @@ class SourceVisitor implements AstVisitor {
|
| space();
|
| token(node.operator);
|
| allowContinuedLines((){
|
| - space();
|
| + levelSpace(SINGLE_SPACE_WEIGHT);
|
| visit(node.rightHandSide);
|
| });
|
| }
|
| @@ -1368,14 +1368,9 @@ class SourceVisitor implements AstVisitor {
|
| levelSpace(lastSpaceWeight);
|
| visit(initializer);
|
| });
|
| - } else if (initializer is ConditionalExpression) {
|
| - allowContinuedLines(() {
|
| - space();
|
| - visit(initializer);
|
| - });
|
| } else {
|
| allowContinuedLines(() {
|
| - levelSpace(lastSpaceWeight++);
|
| + levelSpace(SINGLE_SPACE_WEIGHT);
|
| visit(initializer);
|
| });
|
| }
|
|
|