[Nice-commit] Nice/testsuite/compiler/typing null.testsuite,1.5,1.6
Brought to you by:
bonniot
|
From: <bo...@us...> - 2003-02-21 15:19:23
|
Update of /cvsroot/nice/Nice/testsuite/compiler/typing
In directory sc8-pr-cvs1:/tmp/cvs-serv31587/testsuite/compiler/typing
Modified Files:
null.testsuite
Log Message:
Chech the ambiguity error when calling one of two function accepting null with
the null parameter (this is NOT bug 679597).
Index: null.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/typing/null.testsuite,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** null.testsuite 7 Oct 2002 14:02:24 -0000 1.5
--- null.testsuite 21 Feb 2003 15:19:20 -0000 1.6
***************
*** 29,30 ****
--- 29,36 ----
/// Toplevel
void f(?String, int ?-> int) {}
+
+ /// FAIL
+ /* /// FAIL HERE */ f(null);
+ /// Toplevel
+ void f(?String) {}
+ void f(?java.io.File) {}
|