Chromium Code Reviews| Index: lib/compiler/implementation/tree/unparser.dart |
| diff --git a/lib/compiler/implementation/tree/unparser.dart b/lib/compiler/implementation/tree/unparser.dart |
| index fa19630a860ee9e590921410978c94d96d0c65a7..9f9b5b591b3971ca7bc7e95c73b8df61cd65635a 100644 |
| --- a/lib/compiler/implementation/tree/unparser.dart |
| +++ b/lib/compiler/implementation/tree/unparser.dart |
| @@ -4,9 +4,8 @@ |
| class Unparser implements Visitor { |
| StringBuffer sb; |
| - final bool printDebugInfo; |
| - Unparser([this.printDebugInfo = false]); |
| + Unparser(); |
| String unparse(Node node) { |
| sb = new StringBuffer(); |
| @@ -20,11 +19,7 @@ class Unparser implements Visitor { |
| visit(Node node) { |
| if (node !== null) { |
|
Anton Muhin
2012/06/05 09:35:19
probably it's time to go single line now: if (node
Roman
2012/06/05 11:09:07
Done.
By the way, Dart style guide is ambiguous:
Anton Muhin
2012/06/05 11:39:21
You may want to file a bug.
Historically, at leas
|
| - if (printDebugInfo) sb.add('[${node.getObjectDescription()}: '); |
| node.accept(this); |
| - if (printDebugInfo) sb.add(']'); |
| - } else if (printDebugInfo) { |
| - sb.add('[null]'); |
| } |
| } |