Index: pkg/compiler/lib/src/js_backend/codegen/codegen.dart |
diff --git a/pkg/compiler/lib/src/js_backend/codegen/codegen.dart b/pkg/compiler/lib/src/js_backend/codegen/codegen.dart |
index a51d3664d858bc847a9ff6bb94ccc95a3db5620e..9d1fcc1e337cd6d3877d3be8c24af60c1d159e12 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/codegen.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/codegen.dart |
@@ -895,6 +895,7 @@ class CodeGenerator extends tree_ir.StatementVisitor |
void visitYield(tree_ir.Yield node) { |
js.Expression value = visitExpression(node.input); |
accumulator.add(new js.DartYield(value, node.hasStar)); |
+ visitStatement(node.next); |
} |
@override |