From 47beee7d7085af35f6869cb349e27dd09b82e7a4 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, 16 Jun 2022 20:57:50 +0800 Subject: infer `nil` as redundant return value --- changelog.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'changelog.md') 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) -- cgit v1.2.3