[Nice-commit] Nice/testsuite/compiler/typing instanceof.testsuite,1.8,1.9
Brought to you by:
bonniot
From: <ar...@us...> - 2003-11-20 00:33:24
|
Update of /cvsroot/nice/Nice/testsuite/compiler/typing In directory sc8-pr-cvs1:/tmp/cvs-serv23539/F:/nice/testsuite/compiler/typing Modified Files: instanceof.testsuite Log Message: No type inference on captured variables. Index: instanceof.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/typing/instanceof.testsuite,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** instanceof.testsuite 28 Oct 2003 14:04:50 -0000 1.8 --- instanceof.testsuite 20 Nov 2003 00:32:41 -0000 1.9 *************** *** 207,208 **** --- 207,216 ---- void bar() {} } + + /// FAIL + A a = new B(); + void->void f = () => { a = new A(); }; + if (a instanceof B) { + f(); + B /* /// FAIL HERE */b = a; + } |