[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: functions and upvalues
- From: roberto@... (Roberto Ierusalimschy)
- Date: Thu, 31 May 2007 17:00:10 -0300
> What I'd like is f1's val upvalue to refer to constructor's local
> variable val. Is this possible somehow through environments?
Can't you define 'gen1' inside the constructor?
-- Roberto