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

Unified Diff: lib/src/codegen/js_metalet.dart

Issue 1160223006: Fix DDC errors on DDC (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: address comments Created 5 years, 7 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/codegen/js_codegen.dart ('k') | lib/src/codegen/reify_coercions.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/js_metalet.dart
diff --git a/lib/src/codegen/js_metalet.dart b/lib/src/codegen/js_metalet.dart
index 1fbf392e96cf0d8f1f4c5925eb593e95fb8e8b24..daf7215d070df4ec632689f84e0f062ad3755832 100644
--- a/lib/src/codegen/js_metalet.dart
+++ b/lib/src/codegen/js_metalet.dart
@@ -132,8 +132,10 @@ class MetaLet extends Expression {
vars.add(new VariableInitialization(params[i], values[i]));
}
- return new Block(
- [new VariableDeclarationList('let', vars).toStatement(), block]);
+ return new Block(<Statement>[
+ new VariableDeclarationList('let', vars).toStatement(),
+ block
+ ]);
}
Node _build(List<TemporaryId> params, List<Expression> values, Node node) {
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | lib/src/codegen/reify_coercions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698