Nice/src/mlsub/typing TupleType.java,1.6,1.7 FunType.java,1.9,1.10
Daniel Bonniot <[email protected]> Fri, 17 Jun 2005 14:14:10 +0000
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/src/mlsub/typing
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22896/src/mlsub/typing
Modified Files:
TupleType.java FunType.java
Log Message:
Do not allow a soft type variable to become greater than Object if it is
already constrained to be smaller than another type, as that is obviously
unsafe.
Index: FunType.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/mlsub/typing/FunType.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** FunType.java 28 Feb 2003 20:52:13 -0000 1.9
--- FunType.java 17 Jun 2005 14:14:08 -0000 1.10
***************
*** 70,75 ****
****************************************************************/
! public int getId() { throw new Error(); }
! public void setId(int value) { throw new Error(); }
Kind kind;
--- 70,75 ----
****************************************************************/
! public int getId() { return mlsub.typing.lowlevel.Engine.INVALID; }
! public void setId(int value) { throw new Error(); }
Kind kind;
Index: TupleType.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/mlsub/typing/TupleType.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** TupleType.java 28 Feb 2003 20:52:12 -0000 1.6
--- TupleType.java 17 Jun 2005 14:14:08 -0000 1.7
***************
*** 53,58 ****
****************************************************************/
! public int getId() { throw new Error(); }
! public void setId(int value) { throw new Error(); }
final Kind kind;
--- 53,58 ----
****************************************************************/
! public int getId() { return mlsub.typing.lowlevel.Engine.INVALID; }
! public void setId(int value) { throw new Error(); }
final Kind kind;
-------------------------------------------------------
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