summaryrefslogtreecommitdiff
path: root/changelog.md
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-21 18:22:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-21 18:22:41 +0800
commit8ba44c3e21ac761b88226fec0cc8a5347a4a5804 (patch)
treedcc3ef284b0eb7f08f91899eb6d3eb48cd55c997 /changelog.md
parentcc6142db768430288fa71e144ba479a7a0e6e420 (diff)
downloadlua-language-server-8ba44c3e21ac761b88226fec0cc8a5347a4a5804.zip
#1080 using `---@overload` as class constructor
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 0bed9c82..0ead8edc 100644
--- a/changelog.md
+++ b/changelog.md
@@ -10,6 +10,14 @@
-- `a` and `b` is `string` here
end)
```
+* `NEW` using `---@overload` as class constructor
+ ```lua
+ ---@class Class
+ ---@overload fun():Class
+ local mt
+
+ local x = mt() --> x is `Class` here
+ ```
* `FIX` [#1051](https://github.com/sumneko/lua-language-server/issues/1051)
* `FIX` [#1072](https://github.com/sumneko/lua-language-server/issues/1072)
* `FIX` [#1077](https://github.com/sumneko/lua-language-server/issues/1077)