The metatables do not support custom __pairs and __ipairs overrides #51

Closed
opened 2019-09-28 01:31:18 +00:00 by noncom · 2 comments
noncom commented 2019-09-28 01:31:18 +00:00 (Migrated from github.com)

According to http://lua-users.org/wiki/GeneralizedPairsAndIpairs Lua versions including and above 5.2 should support overriding the __pairs and __ipairs functions of a table by specifying them in the metatable. Currently specifying them does not change anything.

According to http://lua-users.org/wiki/GeneralizedPairsAndIpairs Lua versions including and above 5.2 should support overriding the `__pairs` and `__ipairs` functions of a table by specifying them in the metatable. Currently specifying them does not change anything.
asiekierka commented 2019-10-07 06:24:20 +00:00 (Migrated from github.com)
Fixed as part of https://github.com/luaj/luaj/pull/48
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-autonomous-connection/luaj#51