[Nice-commit] Nice/testsuite/compiler/typing wildcards.testsuite,1.4,1.5
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2005-06-09 14:11:45
|
Update of /cvsroot/nice/Nice/testsuite/compiler/typing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26693/testsuite/compiler/typing Modified Files: wildcards.testsuite Log Message: Forward setUnknown to raw types in all cases. Index: wildcards.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/typing/wildcards.testsuite,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** wildcards.testsuite 9 Jun 2005 11:56:59 -0000 1.4 --- wildcards.testsuite 9 Jun 2005 14:11:36 -0000 1.5 *************** *** 139,140 **** --- 139,149 ---- let cc = /*/// FAIL HERE */ new Cons(head: 1, tail: c); } + + + /// PASS + A<?> a = new A(x: 0); + let x = a.x; + Object o = foo(x); + /// Toplevel + class A<T> { T x; } + <T0> T0 foo(T0 x) = x; |