Chromium Code Reviews| Index: lib/compiler/implementation/tree/unparser.dart |
| =================================================================== |
| --- lib/compiler/implementation/tree/unparser.dart (revision 10864) |
| +++ lib/compiler/implementation/tree/unparser.dart (working copy) |
| @@ -72,6 +72,15 @@ |
| sb.add(' '); |
| } |
| sb.add('{\n'); |
| + NodeList body = node.body; |
| + if (body != null) { |
| + String indent = " "; |
| + for (Node node in body) { |
|
ahe
2012/08/17 06:43:37
Please use the form of for as you see on line 223.
messick
2012/08/17 17:16:40
Done.
|
| + sb.add(indent); |
| + visit(node); |
| + sb.add("\n"); |
| + } |
| + } |
| sb.add('}\n'); |
| } |