You cannot set the fenv of a userdata to nil. It must always be aOn 20/02/2013 20:48, Marc Lepage wrote:
> A userdata can have a table set as fenv. It has a default fenv.
> Can I set the userdata fenv to nil? And later set it back to some table
> (empty, not the original default fenv)?
> Would this have any weird effects?
table. But an empty table is fine.