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

Unified Diff: pkg/kernel/lib/transformations/continuation.dart

Issue 2680303002: Kernel debugging; service tests (Closed)
Patch Set: Address comments Created 3 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: pkg/kernel/lib/transformations/continuation.dart
diff --git a/pkg/kernel/lib/transformations/continuation.dart b/pkg/kernel/lib/transformations/continuation.dart
index 0b7afca5fe5e0040fd7087ebdf4deb8026ec6ae5..a8b28205e7d446a47eaba6eb9ee6be33d804d52d 100644
--- a/pkg/kernel/lib/transformations/continuation.dart
+++ b/pkg/kernel/lib/transformations/continuation.dart
@@ -850,10 +850,9 @@ class AsyncFunctionRewriter extends AsyncRewriterBase {
var expr = node.expression == null
? new NullLiteral()
: expressionRewriter.rewrite(node.expression, statements);
- statements
- .add(new ExpressionStatement(new VariableSet(returnVariable, expr)));
- statements
- .add(new BreakStatement(labeledBody)..fileOffset = node.fileOffset);
+ statements.add(new ExpressionStatement(
+ new VariableSet(returnVariable, expr)..fileOffset = node.fileOffset));
+ statements.add(new BreakStatement(labeledBody));
return null;
}
}
« no previous file with comments | « pkg/kernel/lib/binary/ast_to_binary.dart ('k') | runtime/observatory/tests/service/add_breakpoint_rpc_kernel_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698