I'd like that, too, but I think it should be implemented using "this":
class Test {
public int method(){
var x = new this();
}
}
where the type of "x" should be derived automatically (I'm a big fan of
inferring types whereever possible, btw.)
cheers,
till
Ralf Bokelberg wrote:
> Also i would find it nice to be able to access the current class via
> some special token.
>
> class Test {
>
> public int method(){
> CURRENTCLASS x = new CURRENTCLASS();
> }
> }
>
> CURRENTCLASS should be recognized as Test
>
> Cheers,
> Ralf.
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org