Skip to content

table.sort is slightly broken #4557

Answered by igormunkin
igormunkin asked this question in Q&A
Discussion options

You must be logged in to vote

According to the Lua reference manual, the comparator to be used for sorting has to return strict comparison result. Thereby I propose to prepare request to enrich tarantool docs and close the issue with wontfix reason.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by igormunkin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
wontfix This will not be worked on question Further information is requested luajit misuse Issues related to LuaJIT API misuse (both Lua and Lua C)
1 participant
Converted from issue

This discussion was converted from issue #4557 on December 16, 2020 13:06.