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

Unified Diff: runtime/vm/ast_printer.cc

Issue 1014273003: Make await for cancel the stream when breaking out of the loop (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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
Index: runtime/vm/ast_printer.cc
===================================================================
--- runtime/vm/ast_printer.cc (revision 44677)
+++ runtime/vm/ast_printer.cc (working copy)
@@ -412,9 +412,7 @@
void AstPrinter::VisitTryCatchNode(TryCatchNode* node) {
ISL_Print("(%s ", node->PrettyName());
node->try_block()->Visit(this);
- if (node->catch_block() != NULL) {
- node->catch_block()->Visit(this);
- }
+ node->catch_block()->Visit(this);
if (node->finally_block() != NULL) {
ISL_Print("(finally ");
node->finally_block()->Visit(this);

Powered by Google App Engine
This is Rietveld 408576698