You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: changelog.md
+15
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,21 @@
14
14
*`NEW` Test CLI: `--name=<testname>``-n=<testname>`: run specify unit test
15
15
*`FIX` Fixed the error that the configuration file pointed to by the `--configpath` option was not read and loaded.
16
16
*`FIX` Generic return can be optional.
17
+
*`FIX` Fixed the comment calculating in docs `---@param a string?Comment` - now its `Comment` instead of `omment`.
18
+
*`NEW``---@class` supports attribute `partial`, which will not check missing inherited fields [#3023](https://github.com/LuaLS/lua-language-server/issues/3023)
19
+
```lua
20
+
---@classConfig
21
+
---@fieldanumber
22
+
23
+
---@class (partial) Config.P:Config
24
+
---@fieldbnumber
25
+
26
+
---@typeConfig.P[]
27
+
localcfgs= {}
28
+
cfgs[1] = { b=1 } -- no warning
29
+
cfgs[2] = {} -- only warns missing `b`
30
+
```
31
+
This enables the previous missing field check behavior before [#2970](https://github.com/LuaLS/lua-language-server/issues/2970)
0 commit comments