On 2023年8月26日 12:53:14 +0300 Spar <developspartv@gmail.com> wrote:
Because it's a metatable of a different table, each __index is isolated from each other
On Aug 26, 2023 at 11:14 +0300, temp 213 qwe <temp213@gorodok.net>, wrote:It is a more general question why in this __indexing chain when finally found __index metamethod is a function, it iscalled with last table in chain as argument, but not the first one who actually triggered indexing.
best regards, Pavel