lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Monday 05 March 2007, Javier Guerra wrote:
> On Monday 05 March 2007, Jerome Vuarand wrote:
> > function a:baz() --< Even better, use implicit self
> >     self.super.baz() --< Here use self instead of a
>
> shouldn't this be "self.super:baz()" ?

of course not, should be "self.super.baz(self)"  (and any other parameters)

-- 
Javier

Attachment: pgp40FBUfj0Mi.pgp
Description: PGP signature