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

Unified Diff: lib/src/js_ast/nodes.dart

Issue 2158173003: fix #603, support mock objects (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: add test Created 4 years, 5 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/compiler/code_generator.dart ('k') | pubspec.lock » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/js_ast/nodes.dart
diff --git a/lib/src/js_ast/nodes.dart b/lib/src/js_ast/nodes.dart
index 9a50a5b2879cf57515e5c438aac7fd9540c5504f..a3a1a38f1556146ca0908b0e99947e7ef1c4295f 100644
--- a/lib/src/js_ast/nodes.dart
+++ b/lib/src/js_ast/nodes.dart
@@ -1175,6 +1175,7 @@ class Fun extends FunctionExpression {
final Block body;
@override final List<Identifier> typeParams;
@override final TypeRef returnType;
+
/** Whether this is a JS generator (`function*`) that may contain `yield`. */
final bool isGenerator;
« no previous file with comments | « lib/src/compiler/code_generator.dart ('k') | pubspec.lock » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698