[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: overriding method of a single object and calls its metatable method ?
- From: Javier Guerra <javier@...>
- Date: Mon, 5 Mar 2007 18:47:23 -0500
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:
pgpy0_HczgPBz.pgp
Description: PGP signature