Nice/src/bossa/syntax dispatchTest.nice,1.11,1.12

Daniel Bonniot <[email protected]> Thu, 26 May 2005 15:19:31 +0000
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/src/bossa/syntax
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10319/src/bossa/syntax

Modified Files:
	dispatchTest.nice 
Log Message:
Added debug info about used parameters.


Index: dispatchTest.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/syntax/dispatchTest.nice,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** dispatchTest.nice	25 Mar 2005 16:40:00 -0000	1.11
--- dispatchTest.nice	26 May 2005 15:19:28 -0000	1.12
***************
*** 188,191 ****
--- 188,193 ----
  			   boolean isJavaMethod)
  {
+   boolean[] used = findUsedPositions(method.getArity(), sortedAlternatives);
+ 
    if (bossa.util.Debug.linkTests)
      {
***************
*** 193,199 ****
        for (alt : sortedAlternatives)
          bossa.util.Debug.println("Alternative: "+alt.toString());
-     }
  
!   boolean[] used = findUsedPositions(method.getArity(), sortedAlternatives);
  
    let type = method.getType();
--- 195,204 ----
        for (alt : sortedAlternatives)
          bossa.util.Debug.println("Alternative: "+alt.toString());
  
!       print("Argument used: ");
!       for (u : used)
! 	print(u + " ");
!       println("");
!     }
  
    let type = method.getType();



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005