[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luaL_findtable invoking metamethods
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 22 Jul 2016 10:19:27 -0300
> I noticed today that luaL_findtable (as used by module() and
> luaL_requiref) uses a mix of rawget and settable.
> i.e. __index will not be fired, but __newindex will.
I could not find where 'luaL_requiref' uses 'luaL_findtable'. This
function is still in the code for compatibility only, so I don't
think it is worth fixing a non-bug in it.
-- Roberto