Update of /cvsroot/nice/Nice/testsuite/compiler/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv1807/testsuite/compiler/classes
Modified Files:
serialization.testsuite
Log Message:
Made Object a super-type of every monotype.
Index: serialization.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/serialization.testsuite,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** serialization.testsuite 24 Nov 2003 23:56:25 -0000 1.4
--- serialization.testsuite 3 Dec 2003 21:50:41 -0000 1.5
***************
*** 98,104 ****
{
if(x==1)
! return object(new A(x: 10));
else
! return object(this);
}
--- 98,104 ----
{
if(x==1)
! return new A(x: 10);
else
! return this;
}
***************
*** 106,112 ****
{
if (x == 10)
! return object(new A(x: 5));
else
! return object(this);
}
}
--- 106,112 ----
{
if (x == 10)
! return new A(x: 5);
else
! return this;
}
}
|