generated from pool/new_package
- Update to 3.4.0:
- NEW diagnostics:
cast-local-type
assign-type-mismatch
param-type-mismatch
unknown-cast-variable
cast-type-mismatch
missing-return-value
redundant-return-value
missing-return
return-type-mismatch
- NEW settings:
diagnostics.groupSeverity
diagnostics.groupFileStatus
type.castNumberToInteger
type.weakUnionCheck
hint.semicolon
- CHG infer nil as redundant return value
local function f() end
local x = f() -- `x` is `nil` instead of `unknown`
- CHG infer called function by params num
---@overload fun(x: number, y: number):string
---@overload fun(x: number):number
---@return boolean
local function f() end
local n1 = f() -- `n1` is `boolean`
local n2 = f(0) -- `n2` is `number`
local n3 = f(0, 0) -- `n3` is `string`
- CHG semicolons and parentheses can be used in DocTable
---@type { (x: number); (y: boolean) }
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=21
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
Name: lua-language-server
|
||||
Version: 3.2.4
|
||||
Version: 3.4.0
|
||||
Release: 0
|
||||
Summary: Lua Language Server coded by Lua
|
||||
License: MIT
|
||||
|
||||
Reference in New Issue
Block a user