summaryrefslogtreecommitdiff
path: root/changelog.md
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-16 20:57:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-16 20:57:50 +0800
commit47beee7d7085af35f6869cb349e27dd09b82e7a4 (patch)
tree8b339629804656edc55c375d36c8769a0b5ff986 /changelog.md
parent8a9e8d9cfd12d43496c2bf16f70874af550d4e7e (diff)
downloadlua-language-server-47beee7d7085af35f6869cb349e27dd09b82e7a4.zip
infer `nil` as redundant return value
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 2048c043..2b9f5b00 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,12 @@
# changelog
+## 3.4.0
+* `CHG` infer `nil` as redundant return value
+ ```lua
+ local function f() end
+ local x = f() -- `x` is `nil` instead of `unknown`
+ ```
+
## 3.3.1
* `FIX` [#1213](https://github.com/sumneko/lua-language-server/issues/1213)
* `FIX` [#1215](https://github.com/sumneko/lua-language-server/issues/1215)