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

Unified Diff: lib/src/js/printer.dart

Issue 1050723002: partially implement instance of checks and some codegen fixes (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/src/js/precedence.dart ('k') | test/browser/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/js/printer.dart
diff --git a/lib/src/js/printer.dart b/lib/src/js/printer.dart
index e620087413b27a68ed9424921cc694d28123b5c8..0b76cc62052d9cc8c15e677c987e20238378236f 100644
--- a/lib/src/js/printer.dart
+++ b/lib/src/js/printer.dart
@@ -616,7 +616,7 @@ class Printer implements NodeVisitor {
visitNew(New node) {
out("new ");
- visitNestedExpression(node.target, CALL,
+ visitNestedExpression(node.target, ACCESS,
newInForInit: inForInit, newAtStatementBegin: false);
out("(");
visitCommaSeparated(node.arguments, ASSIGNMENT,
« no previous file with comments | « lib/src/js/precedence.dart ('k') | test/browser/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698