diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-21 02:04:22 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-21 02:04:22 +0800 |
commit | c2cf059ec21bb1076913bb99132d1f1cabf00d67 (patch) | |
tree | c082e15cda982afdb683196bdc9d20c8437e7e4f /changelog.md | |
parent | fa3736b7532a0d64e20e77a667e2e83528e0a01d (diff) | |
download | lua-language-server-c2cf059ec21bb1076913bb99132d1f1cabf00d67.zip |
supports infer of callback parameter
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index fe319441..afb0ba24 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,15 @@ # changelog ## 3.1.1 +* `NEW` supports infer of callback parameter + ```lua + ---@type string[] + local t + + table.sort(t, function (a, b) + -- `a` and `b` is `string` here + end) + ``` * `FIX` [#1051](https://github.com/sumneko/lua-language-server/issues/1051) * `FIX` [#1072](https://github.com/sumneko/lua-language-server/issues/1072) * `FIX` runtime errors |