Skip to content
Open
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 @@ -2,6 +2,7 @@

## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->
* `FIX` Correct `math.type` meta return annotation to use `nil` instead of the string literal `'nil'`

## 3.18.2
* `CHG` `duplicate-set-field` diagnostic now supports linked suppression: when any occurrence of a duplicate field is suppressed with `---@diagnostic disable` or `---@diagnostic disable-next-line`, all warnings for that field name will be suppressed
Expand Down
2 changes: 1 addition & 1 deletion meta/template/math.lua
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ function math.tointeger(x) end
---@return
---| '"integer"'
---| '"float"'
---| 'nil'
---| nil
---@nodiscard
function math.type(x) end

Expand Down
Loading