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

Unified Diff: frog/minfrog

Issue 9290007: Fixes isolate issue #1329 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged Created 8 years, 11 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 | « frog/member_set.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/minfrog
diff --git a/frog/minfrog b/frog/minfrog
index 869b4ae246ded6ec29565808b002dbc613c12f77..06951f6951bcda28c95cdea99a8c66796caa4e26 100755
--- a/frog/minfrog
+++ b/frog/minfrog
@@ -6829,6 +6829,15 @@ InvokeKey.prototype.addMembers = function(members, context, target, args) {
if (!(member.get$parameters().get$length() == this.bareArgs && this.namedArgs == null)) {
this.needsVarCall = true;
}
+ if ($eq(member.get$library(), $globals.world.dom)) {
+ var $$list = member.get$parameters();
+ for (var $i0 = $$list.iterator(); $i0.hasNext(); ) {
+ var p = $i0.next();
+ if (p.get$type().getCallMethod() != null) {
+ this.needsVarCall = true;
+ }
+ }
+ }
if (member.canInvoke(context, args)) {
if (member.get$isMethod()) {
this.returnType = MemberSet.unionTypes(this.returnType, member.get$returnType());
« no previous file with comments | « frog/member_set.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698