Nice/src/nice/tools/typing Types.java,1.16,1.17
Daniel Bonniot <[email protected]> Wed, 22 Jun 2005 14:34:15 +0000
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/src/nice/tools/typing
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9258/src/nice/tools/typing
Modified Files:
Types.java
Log Message:
Fix getTypeParameter on nullary type constructor.
Index: Types.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/nice/tools/typing/Types.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** Types.java 25 May 2005 23:22:57 -0000 1.16
--- Types.java 22 Jun 2005 14:34:12 -0000 1.17
***************
*** 229,233 ****
Monotype[] parameters = ((MonotypeConstructor) type).getTP();
! if (parameters.length <= rank)
return null;
else
--- 229,233 ----
Monotype[] parameters = ((MonotypeConstructor) type).getTP();
! if (parameters == null || parameters.length <= rank)
return null;
else
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click