[Nice-commit] Nice/testsuite/compiler/typing polymorphism.testsuite,1.7,1.8
Brought to you by:
bonniot
|
From: Daniel B. <bo...@us...> - 2005-04-04 11:52:07
|
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]); |