You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm basically looking for a way to register the url.parse module, which returns a function rather than a table. Other popular modules do that as well, which is why I'm looking for the generalized solution. I've filed an independent issue #144.
Use of LTR __metatable docs are thin, and I'm doing my best to work from the source code.
First, I'm surprised that the metatable map returned is always self, rather than the one I'm pointing at via an LRO_ROVAL.
Given:
It seems to ignore the metatable and registers a metatable of self:
So given that, I went back to a single consolidated romtable that uses itself as a metatable:
And
__call
seems to get ignored:The text was updated successfully, but these errors were encountered: