Nice/testsuite/compiler/typing arrays.testsuite,1.3,1.4 if.testsuite,1.2,1.3 object.testsuite,1.4,1.5 polymorphism.testsuite,1.6,1.7 variances.testsuite,1.1,1.2
Arjan Boeijink <[email protected]> Sat, 12 Mar 2005 15:06:20 +0000
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/testsuite/compiler/typing
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11641/F:/nice/testsuite/compiler/typing
Modified Files:
arrays.testsuite if.testsuite object.testsuite
polymorphism.testsuite variances.testsuite
Log Message:
Added some missing failure positions.
Index: variances.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/typing/variances.testsuite,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** variances.testsuite 25 Jun 2002 07:06:05 -0000 1.1
--- variances.testsuite 12 Mar 2005 15:06:17 -0000 1.2
***************
*** 15,22 ****
/// FAIL
BInv<long> b = new BInv();
! AInv<int> a = b;
/// FAIL
BInv<int> b = new BInv();
! AInv<long> a = b;
--- 15,22 ----
/// FAIL
BInv<long> b = new BInv();
! AInv<int> /* /// FAIL HERE */ a = b;
/// FAIL
BInv<int> b = new BInv();
! AInv<long> /* /// FAIL HERE */ a = b;
***************
*** 29,33 ****
/// FAIL
BCov<long> b = new BCov();
! ACov<int> a = b;
--- 29,33 ----
/// FAIL
BCov<long> b = new BCov();
! ACov<int> /* /// FAIL HERE */ a = b;
***************
*** 37,41 ****
/// FAIL
BContrav<int> b = new BContrav();
! AContrav<long> a = b;
/// PASS
BContrav<long> b = new BContrav();
--- 37,41 ----
/// FAIL
BContrav<int> b = new BContrav();
! AContrav<long> /* /// FAIL HERE */ a = b;
/// PASS
BContrav<long> b = new BContrav();
Index: object.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/typing/object.testsuite,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** object.testsuite 12 Dec 2003 19:24:53 -0000 1.4
--- object.testsuite 12 Mar 2005 15:06:17 -0000 1.5
***************
*** 53,57 ****
/// FAIL
! Object o = null;
/// PASS
--- 53,57 ----
/// FAIL
! Object /* /// FAIL HERE */ o = null;
/// PASS
Index: arrays.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/typing/arrays.testsuite,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** arrays.testsuite 13 Oct 2004 18:28:51 -0000 1.3
--- arrays.testsuite 12 Mar 2005 15:06:17 -0000 1.4
***************
*** 3,7 ****
/// FAIL
! String[] s = new String[1];
/// PASS
--- 3,7 ----
/// FAIL
! String[] /* /// FAIL HERE */ s = new String[1];
/// PASS
***************
*** 13,17 ****
/// Toplevel
// The result is optional even if R is not.
! <R> R[] f(int size) = new R[size];
/// PASS
--- 13,17 ----
/// Toplevel
// The result is optional even if R is not.
! <R> R[] f(int size) = /* /// FAIL HERE */ new R[size];
/// PASS
Index: polymorphism.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/typing/polymorphism.testsuite,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** polymorphism.testsuite 1 Mar 2005 18:56:23 -0000 1.6
--- polymorphism.testsuite 12 Mar 2005 15:06:17 -0000 1.7
***************
*** 14,18 ****
/// COMMENT Currently we allow only <C T> if C is a type constructor.
/// Toplevel
! <T, T U> void f();
/// PASS
--- 14,18 ----
/// COMMENT Currently we allow only <C T> if C is a type constructor.
/// Toplevel
! <T, /* /// FAIL HERE */ T U> void f();
/// PASS
Index: if.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/typing/if.testsuite,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** if.testsuite 28 May 2003 09:04:59 -0000 1.2
--- if.testsuite 12 Mar 2005 15:06:17 -0000 1.3
***************
*** 3,5 ****
/// FAIL
! let f = true ? "string" : 0;
--- 3,5 ----
/// FAIL
! let f = /* /// FAIL HERE */ true ? "string" : 0;
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click