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

Unified Diff: frog/var_member.dart

Issue 8567016: Fix a spurious warning in Frog selfhost (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated Created 9 years, 1 month 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 | « frog/value.dart ('k') | tests/co19/co19-frog.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/var_member.dart
diff --git a/frog/var_member.dart b/frog/var_member.dart
index eaf5871385328c86f3bd1cf77ac20b930739cdc0..0381e6df5b4aba18fcccf12964a2b0a5faef494c 100644
--- a/frog/var_member.dart
+++ b/frog/var_member.dart
@@ -197,7 +197,7 @@ class VarMethodSet extends VarMember {
// Invoke the member with the stub args (this gives us the method body),
// then create the stub method.
final target = new Value(member.declaringType, 'this', node.span);
- var result = member.invoke(context, node, target, args);
+ var result = member.invoke(context, node, target, args, isDynamic:true);
var stub = new VarMethodStub(name, member, args, result);
// Put the stub on the type directly if possible. Otherwise
« no previous file with comments | « frog/value.dart ('k') | tests/co19/co19-frog.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698