summaryrefslogtreecommitdiff
path: root/changelog.md
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-22 00:36:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-22 00:36:32 +0800
commitd16545d285de2451b3d2c0a03cc299ef18ac0ca0 (patch)
treef2c10898ea928d651c6c563f88ac1e77c02c00d9 /changelog.md
parent629e8e052e444c51fb00e9d3af5a8c2a5ee371f8 (diff)
downloadlua-language-server-d16545d285de2451b3d2c0a03cc299ef18ac0ca0.zip
add `--[[@as type]]`
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 0ead8edc..4206c40a 100644
--- a/changelog.md
+++ b/changelog.md
@@ -18,6 +18,11 @@
local x = mt() --> x is `Class` here
```
+* `NEW` add `--[[@as type]]`
+ ```lua
+ local x = true
+ local y = x--[[@as integer]] -- y is `integer` 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)