Removed code for compatibility with version 5.3

This commit is contained in:
Roberto I
2025-08-20 16:10:54 -03:00
parent c345877e4c
commit 06c5d3825f
7 changed files with 3 additions and 61 deletions

View File

@@ -246,7 +246,8 @@ assert(not T.testC("compare LT 1 4, return 1"))
assert(not T.testC("compare LE 9 1, return 1"))
assert(not T.testC("compare EQ 9 9, return 1"))
local b = {__lt = function (a,b) return a[1] < b[1] end}
local b = {__lt = function (a,b) return a[1] < b[1] end,
__le = function (a,b) return a[1] <= b[1] end}
local a1,a3,a4 = setmetatable({1}, b),
setmetatable({3}, b),
setmetatable({4}, b)