| Index: pkg/analyzer/lib/src/services/formatter_impl.dart
|
| ===================================================================
|
| --- pkg/analyzer/lib/src/services/formatter_impl.dart (revision 32390)
|
| +++ pkg/analyzer/lib/src/services/formatter_impl.dart (working copy)
|
| @@ -632,7 +632,11 @@
|
| }
|
|
|
| visitConstructorInitializers(ConstructorDeclaration node) {
|
| - newlines();
|
| + if (node.initializers.length > 1) {
|
| + newlines();
|
| + } else {
|
| + preserveLeadingNewlines();
|
| + }
|
| indent(2);
|
| token(node.separator /* : */);
|
| space();
|
|
|