diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-03-02 21:04:39 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-03-02 21:04:39 +0800 |
commit | 679689b5c5a167794cf10a74b9de2d9c37e30d65 (patch) | |
tree | 69bbb5ef64daa57809c43e4d7f75e19e8905b0f6 | |
parent | 1e765820a9d16dd00325c9e591726b44d61d0616 (diff) | |
download | lua-language-server-679689b5c5a167794cf10a74b9de2d9c37e30d65.zip |
fix #435 forget to update `LuaDoc` of `ipairs`
-rw-r--r-- | changelog.md | 3 | ||||
-rw-r--r-- | meta/template/basic.lua | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/changelog.md b/changelog.md index 5bc389d6..b90195d7 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # changelog +## 1.18.0 +* `FIX` [#435](https://github.com/sumneko/lua-language-server/issues/435) + ## 1.17.2 `2021-3-2` * `FIX` running in Windows diff --git a/meta/template/basic.lua b/meta/template/basic.lua index ffd36631..785819a4 100644 --- a/meta/template/basic.lua +++ b/meta/template/basic.lua @@ -65,9 +65,10 @@ function getfenv(f) end function getmetatable(object) end ---#DES 'ipairs' ----@param t table ----@return fun(t: table, i?: integer):integer, any iterator ----@return table t +---@generic T: table, V +---@param t T +---@return fun(table: V[], i?: integer):integer, V +---@return T ---@return integer i function ipairs(t) end |