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

Unified Diff: frog/await/transformation.dart

Issue 8952006: Fix factories in Frog to correspond to the new syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged, and update test status Created 9 years 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 | « client/tests/client/client.status ('k') | frog/leg/scanner/token.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/await/transformation.dart
diff --git a/frog/await/transformation.dart b/frog/await/transformation.dart
index a5c83bf29e4b3bb0fb93fe9bd77531399fbf213e..7d3691322bfad7360881eebe2d990897d332f496 100644
--- a/frog/await/transformation.dart
+++ b/frog/await/transformation.dart
@@ -673,7 +673,7 @@ class AwaitProcessor implements TreeVisitor {
[new FormalNode(
false, false, null /* infer type from body? */,
param, null, param.span)
- ], null, null, null,
+ ], null, null,
new BlockStatement(afterAwait, node.span), node.span),
node.span);
continuation.clear();
@@ -739,7 +739,7 @@ class AwaitProcessor implements TreeVisitor {
List<Statement> continuationBlock = [];
continuationBlock.addAll(continuation);
return new FunctionDefinition([], null,
- new Identifier(name, span), [], null, null, null,
+ new Identifier(name, span), [], null, null,
new BlockStatement(continuationBlock, span), span);
}
« no previous file with comments | « client/tests/client/client.status ('k') | frog/leg/scanner/token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698