Update of /cvsroot/nice/Nice/testsuite/compiler/null
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22259/testsuite/compiler/null
Modified Files:
functions.testsuite
Log Message:
Improved location of redundant nullness markers errors.
Removed dubious testcases and added clear ones.
Index: functions.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/null/functions.testsuite,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** functions.testsuite 25 Jul 2002 15:23:37 -0000 1.1
--- functions.testsuite 21 Mar 2005 16:55:35 -0000 1.2
***************
*** 3,11 ****
/// PASS
! /// COMMENT: Maybe this should not be allowed.
! ?(int)->int f = null;
! /// FAIL
! /// COMMENT: Redondant nullness qualifier.
! ?(int)?->int f;
--- 3,13 ----
/// PASS
! ?(int->int) f = null;
! /// PASS
! ?int?->int f = null;
! f = ?int x => 0;
+ /// FAIL
+ // Redundant nullness qualifier.
+ /*/// FAIL HERE */ ?(int?->int) f;
|