[Nice-commit] Nice/testsuite/compiler/classes this.testsuite,1.6,1.7
Brought to you by:
bonniot
From: <bo...@us...> - 2004-01-18 20:38:50
|
Update of /cvsroot/nice/Nice/testsuite/compiler/classes In directory sc8-pr-cvs1:/tmp/cvs-serv19382/testsuite/compiler/classes Modified Files: this.testsuite Log Message: Support implicit 'this' for functional fields. Index: this.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/this.testsuite,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** this.testsuite 15 Jan 2004 21:39:19 -0000 1.6 --- this.testsuite 18 Jan 2004 20:38:40 -0000 1.7 *************** *** 113,114 **** --- 113,130 ---- getX(this@A) = x; + + /// PASS + /// Toplevel + // Implicit this used on a functional field. + class A { + String->void avv; + void m(String s) = avv(s); + } + + /// PASS + /// Toplevel + // Implicit this used on a functional field. + class A { + (String,String)->void avv; + void m(String s) = avv(s,s); + } |