|
From: <caw...@us...> - 2007-05-23 20:07:56
|
Revision: 2532
http://svn.sourceforge.net/rubyeclipse/?rev=2532&view=rev
Author: cawilliams
Date: 2007-05-23 13:07:55 -0700 (Wed, 23 May 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/MethodLocator.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/MethodLocator.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/MethodLocator.java 2007-05-23 19:57:18 UTC (rev 2531)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/MethodLocator.java 2007-05-23 20:07:55 UTC (rev 2532)
@@ -59,15 +59,13 @@
@Override
public Instruction visitFCallNode(FCallNode iVisited) {
- Node args = iVisited.getArgsNode(); // FIXME Grab the actual argument count
- match(iVisited, 0);
+ match(iVisited, getArgumentsFromFunctionCall(iVisited).size());
return super.visitFCallNode(iVisited);
}
@Override
public Instruction visitCallNode(CallNode iVisited) {
- Node args = iVisited.getArgsNode();
- match(iVisited, 0); // FIXME Grab the actual arg count
+ match(iVisited, getArgumentsFromFunctionCall(iVisited).size());
return super.visitCallNode(iVisited);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|