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

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: toDebugString() in tree validator 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..8a1d30eb1a3c819dcabf194b9f0f780795ba6820 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 = node.toDebugString();
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