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

Unified Diff: lib/src/js/template.dart

Issue 1207313002: initial sync*, part of #221 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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/src/js/printer.dart ('k') | test/codegen/expect.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/js/template.dart
diff --git a/lib/src/js/template.dart b/lib/src/js/template.dart
index 0c951a968d09456e7ae8a20d8a4ca635c895d14a..9d75530162f538078ca0ba1b19c2634aa8e9a011 100644
--- a/lib/src/js/template.dart
+++ b/lib/src/js/template.dart
@@ -642,6 +642,9 @@ class InstantiatorGeneratorVisitor implements NodeVisitor<Instantiator> {
Instantiator visitSpread(Spread node) =>
(args) => new Spread(visit(node.argument)(args));
+ Instantiator visitYield(Yield node) =>
+ (args) => new Yield(visit(node.value)(args), star: node.star);
+
Instantiator visitRestParameter(RestParameter node) =>
(args) => new RestParameter(visit(node.parameter)(args));
« no previous file with comments | « lib/src/js/printer.dart ('k') | test/codegen/expect.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698