Chromium Code Reviews| Index: lib/compiler/implementation/tree_validator.dart |
| diff --git a/lib/compiler/implementation/tree_validator.dart b/lib/compiler/implementation/tree_validator.dart |
| index 9683721a6b0cb464feef6ece6dfdfa7c717647dd..fc7c039e51577f0202f32a66b1e11e8e3ec5d0f1 100644 |
| --- a/lib/compiler/implementation/tree_validator.dart |
| +++ b/lib/compiler/implementation/tree_validator.dart |
| @@ -60,7 +60,7 @@ class InvalidNodeError { |
| InvalidNodeError(this.node, [this.message]); |
| toString() { |
| - String nodeString = new Unparser(true).unparse(node); |
| + String nodeString = new Unparser().unparse(node); |
|
ahe
2012/06/08 13:05:18
I think this should be node.toDebugString().
Roman
2012/06/08 13:18:51
Done.
|
| String result = 'invalid node: $nodeString'; |
| if (message !== null) result = '$result ($message)'; |
| return result; |