-
Konstantin Osipov authored
Add tuple::pairs() and tuple:next() implementation. Update tuple metatable __index implementation to do method lookup. Fix a bug in box.unpack() where we wouldn't check that lua_tolstring() can return NULL (which happens if nil is on the stack). Add tests.
Konstantin Osipov authoredAdd tuple::pairs() and tuple:next() implementation. Update tuple metatable __index implementation to do method lookup. Fix a bug in box.unpack() where we wouldn't check that lua_tolstring() can return NULL (which happens if nil is on the stack). Add tests.