Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(709)

Unified Diff: lib/compiler/implementation/tree_validator.dart

Issue 10456080: Remove printDebugInfo from Unparser (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: another PrettyPrinter interface Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/compiler/implementation/tree/unparser.dart ('k') | lib/compiler/implementation/unparse_validator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « lib/compiler/implementation/tree/unparser.dart ('k') | lib/compiler/implementation/unparse_validator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698