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)); |