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

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

Issue 1754783002: Fix #469 (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Reformat Created 4 years, 10 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/html.js ('k') | no next file » | 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 36b9cd1f4434b199e303b11dd9a93f9b0a8853a0..913eea26fc1fe6d678b7514a4b7688faa6ab1661 100644
--- a/lib/src/codegen/js_codegen.dart
+++ b/lib/src/codegen/js_codegen.dart
@@ -2054,11 +2054,8 @@ class JSCodegenVisitor extends GeneralizingAstVisitor
}
if (target != null && DynamicInvoke.get(target)) {
- return js.call('dart.$DPUT(#, #, #)', [
- _visit(target),
- _emitMemberName(id.name, type: getStaticType(target)),
- _visit(rhs)
- ]);
+ return js.call('dart.$DPUT(#, #, #)',
+ [_visit(target), _emitMemberName(id.name), _visit(rhs)]);
}
return _visit(rhs).toAssignExpression(_visit(lhs));
« no previous file with comments | « lib/runtime/dart/html.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698