Nice/testsuite/compiler/typing polymorphism.testsuite,1.7,1.8
Daniel Bonniot <[email protected]> Mon, 04 Apr 2005 11:51:49 +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-serv11044/testsuite/compiler/typing
Modified Files:
polymorphism.testsuite
Log Message:
Known bug: polymorphic anonymous function on arrays.
Index: polymorphism.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/typing/polymorphism.testsuite,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** polymorphism.testsuite 12 Mar 2005 15:06:17 -0000 1.7
--- polymorphism.testsuite 4 Apr 2005 11:51:47 -0000 1.8
***************
*** 43,44 ****
--- 43,48 ----
return (true) ? null : poly(new A[0]);
}
+
+ /// PASS bug
+ int[][] l = [[0,1],[1,2]];
+ int[] bar = l.map(<T> (T[] x) => x[1]);
-------------------------------------------------------
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