diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-22 00:36:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-22 00:36:32 +0800 |
commit | d16545d285de2451b3d2c0a03cc299ef18ac0ca0 (patch) | |
tree | f2c10898ea928d651c6c563f88ac1e77c02c00d9 /changelog.md | |
parent | 629e8e052e444c51fb00e9d3af5a8c2a5ee371f8 (diff) | |
download | lua-language-server-d16545d285de2451b3d2c0a03cc299ef18ac0ca0.zip |
add `--[[@as type]]`
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 5 |
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) |