[Nice-commit] Nice/testsuite/compiler/statements/variables typeInference.testsuite,1.2,1.3
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-03-17 17:05:01
|
Update of /cvsroot/nice/Nice/testsuite/compiler/statements/variables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19931/testsuite/compiler/statements/variables Modified Files: typeInference.testsuite Log Message: Do type inference on local bindings with polymorphic values. Index: typeInference.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/statements/variables/typeInference.testsuite,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** typeInference.testsuite 28 May 2003 09:04:59 -0000 1.2 --- typeInference.testsuite 17 Mar 2004 16:55:33 -0000 1.3 *************** *** 5,9 **** /// FAIL // An incorrect use of a polymorphic reference. ! let /* /// FAIL HERE */ l = new ArrayList(); l.add("Hello"); ! java.io.File f = l.get(0); --- 5,9 ---- /// FAIL // An incorrect use of a polymorphic reference. ! let l = new ArrayList(); l.add("Hello"); ! java.io.File /* /// FAIL HERE */ f = l.get(0); |