From 0c7a22d1106cd97b47cb969e2ccfd86ca7ae2629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 20 Oct 2022 20:49:11 +0800 Subject: ignore varargs if a function only has varargs and has `---@overload`, the varargs will be ignored resolve #1641 --- changelog.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'changelog.md') diff --git a/changelog.md b/changelog.md index 4057bce8..001fa032 100644 --- a/changelog.md +++ b/changelog.md @@ -36,6 +36,7 @@ server will generate `doc.json` and `doc.md` in `LOGPATH`. * `redundant-return-value` * `return-type-mismatch` * `CHG` workspace-symbol: supports chain fields based on global variables and types. try `io.open` or `iolib.open` +* `CHG` [#1641] if a function only has varargs and has `---@overload`, the varargs will be ignored * `FIX` [#1567] * `FIX` [#1593] * `FIX` [#1595] @@ -59,6 +60,7 @@ server will generate `doc.json` and `doc.md` in `LOGPATH`. [#1608]: https://github.com/sumneko/lua-language-server/issues/1608 [#1626]: https://github.com/sumneko/lua-language-server/issues/1626 [#1637]: https://github.com/sumneko/lua-language-server/issues/1637 +[#1641]: https://github.com/sumneko/lua-language-server/issues/1641 [#1642]: https://github.com/sumneko/lua-language-server/issues/1642 ## 3.5.6 -- cgit v1.2.3