Re: What happens when you try to serialize a closure
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: What happens when you try to serialize a closure
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2013年1月26日 14:04:32 -0200
> So... _ENV is not an implicit upvalue of every function?
No.
> And if you could write a main chunk that did not reference _ENV, would
> it then have zero upvalues?
No. All main chunks have _ENV as its first upvalue, even if they don't
refer to globals.