From 3c3350d724fe7bb567726b73f4851605278e2bbd Mon Sep 17 00:00:00 2001 From: Ron Tseytlin <40004112+steveRoll-git@users.noreply.github.com> Date: Thu, 27 Feb 2025 01:03:09 +0200 Subject: [PATCH 1/2] Correct version for `math.type` and `math.ult` `math.type` and `math.ult` have been added in Lua 5.3. --- meta/template/math.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/template/math.lua b/meta/template/math.lua index 37e1d5c74..707aa99c5 100644 --- a/meta/template/math.lua +++ b/meta/template/math.lua @@ -234,6 +234,7 @@ function math.tanh(x) end ---@nodiscard function math.tointeger(x) end +---@version >5.3 ---#DES 'math.type' ---@param x any ---@return @@ -243,6 +244,7 @@ function math.tointeger(x) end ---@nodiscard function math.type(x) end +---@version >5.3 ---#DES 'math.ult' ---@param m integer ---@param n integer From de8377d9452887dfeeac0b1f2595268bea84a9d6 Mon Sep 17 00:00:00 2001 From: Ron Tseytlin <40004112+steveRoll-git@users.noreply.github.com> Date: Thu, 27 Feb 2025 01:06:17 +0200 Subject: [PATCH 2/2] Update changelog.md --- changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.md b/changelog.md index 97605aa7e..d3a9287e6 100644 --- a/changelog.md +++ b/changelog.md @@ -8,6 +8,7 @@ * `FIX` reimplement section `luals.config` in file doc.json * `FIX` incorrect file names in file doc.json * `FIX` remove extra `./` path prefix in the check report when using `--check=.` +* `FIX` correct lua version of `math.ult` and `math.type` ## 3.13.6 `2025-2-6`