| Index: pkg/analyzer/lib/src/services/formatter_impl.dart
|
| ===================================================================
|
| --- pkg/analyzer/lib/src/services/formatter_impl.dart (revision 31513)
|
| +++ pkg/analyzer/lib/src/services/formatter_impl.dart (working copy)
|
| @@ -754,7 +754,11 @@
|
| token(node.forKeyword);
|
| space();
|
| token(node.leftParenthesis);
|
| - visit(node.loopVariable);
|
| + if (node.loopVariable != null) {
|
| + visit(node.loopVariable);
|
| + } else {
|
| + visit(node.identifier);
|
| + }
|
| space();
|
| token(node.inKeyword);
|
| space();
|
|
|