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

Unified Diff: runtime/vm/ast_printer.cc

Issue 542863003: Fix printing ReturnNode_s. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast_printer.cc
diff --git a/runtime/vm/ast_printer.cc b/runtime/vm/ast_printer.cc
index e363cfed77a7df427b573ca64e6fbc9f6035174c..1c91ad76f16b727063ea1e9714e1045121b449ae 100644
--- a/runtime/vm/ast_printer.cc
+++ b/runtime/vm/ast_printer.cc
@@ -45,11 +45,10 @@ void AstPrinter::VisitArgumentListNode(ArgumentListNode* arguments) {
void AstPrinter::VisitReturnNode(ReturnNode* node) {
- VisitGenericAstNode(node);
OS::Print("(%s %s",
node->PrettyName(),
(node->return_type() == ReturnNode::kContinuation) ?
- "continuation" : "");
+ "continuation " : "");
node->VisitChildren(this);
OS::Print(")");
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698