Skip to content

Commit 07219cb

Browse files
committed
#871 fix return type of math.floor
1 parent 3643713 commit 07219cb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 2.5.6
44
* `CHG` diagnostic: now syntax errors in `LuaDoc` are shown as `Warning`
5+
* `FIX` return type of `math.floor`
56

67
## 2.5.5
78
`2021-12-16`

meta/template/math.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function math.exp(x) end
8787

8888
---#DES 'math.floor'
8989
---@param x number
90-
---@return number
90+
---@return integer
9191
---@nodiscard
9292
function math.floor(x) end
9393

0 commit comments

Comments
 (0)