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