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

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

Issue 1039243002: fix temp used in postfix ops (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
« no previous file with comments | « lib/runtime/dart/core.js ('k') | test/codegen/expect/server_mode/html_input.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/js_codegen.dart
diff --git a/lib/src/codegen/js_codegen.dart b/lib/src/codegen/js_codegen.dart
index 3cba7a75f96f8198fa8d1fcfca9b793dd279fe6d..da38df09f1e3c629ba07c5f573b30e1bc0930b84 100644
--- a/lib/src/codegen/js_codegen.dart
+++ b/lib/src/codegen/js_codegen.dart
@@ -1520,7 +1520,7 @@ class JSCodegenVisitor extends GeneralizingAstVisitor with ConversionVisitor {
var bindThis = _maybeBindThis(expr);
return js.call("((#) => (#, #))$bindThis(#)", [
- tmp.name,
+ _visit(tmp),
write,
_visit(tmp),
_visit(expr)
« no previous file with comments | « lib/runtime/dart/core.js ('k') | test/codegen/expect/server_mode/html_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698