[Tarantool-patches] [PATCH 0/3] lua: table fixes
olegrok at tarantool.org
olegrok at tarantool.org
Thu Feb 13 23:33:50 MSK 2020
From: Oleg Babin <babinoleg at mail.ru>
This patchset fixes three problems.
Two first are bugs in table.deepcopy function.
The third is similar to the second
(because the root of problem is a __pairs
metamethod) that I found then worked on the
second commit.
Branch: https://github.com/tarantool/tarantool/tree/olegrok/table-fixes
Oleg Babin (3):
lua: fix incorrect table.deepcopy __metatable handling
lua: table.deepcopy ignores __pairs metamethod
tap: is_deeply ignores __pairs metamethod
src/lua/table.lua | 9 ++++++--
src/lua/tap.lua | 9 +++++---
test/app-tap/table.test.lua | 44 ++++++++++++++++++++++++++++++++++++-
test/app-tap/tap.result | 6 +++--
test/app-tap/tap.test.lua | 24 +++++++++++++++++++-
5 files changed, 83 insertions(+), 9 deletions(-)
--
2.23.0
More information about the Tarantool-patches
mailing list