Nice/testsuite/compiler/typing wildcards.testsuite,1.4,1.5

Daniel Bonniot <[email protected]> Thu, 09 Jun 2005 14:11:39 +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-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;



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20