Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,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`
* `FIX` incorrect links for `pattern` in `string` methods
* `FIX` fix type annotations for bit module
* `FIX` Another regression related to type narrow and generic param introduced since `v3.10.1` [#3087](https://github.com/LuaLS/lua-language-server/issues/3087)
Expand Down
2 changes: 2 additions & 0 deletions meta/template/math.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down