generated from pool/new_package
633fbdee365b48539ce84e8285e1ea61a49815b97c3a70b8a96c788bc3066d57
- 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/request/show/985951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=10
How to update the lua-language-server package
Prerequisites:
You need the tar_scm obs service installed:
zypper in obs-service-tar_scm
Updating to a new version from upstream
Edit the _service and spec file and update the version variable.
Download the new source file by running:
osc service disabledrun
Update the changelog file with the upstream release notes.
Description
Languages
Shell
100%