Skip to content

Commit 03c8f20

Browse files
committed
3.18.2
1 parent b3d385f commit 03c8f20

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
55

6+
## 3.18.2
7+
* `CHG` `duplicate-set-field` diagnostic now supports linked suppression: when any occurrence of a duplicate field is suppressed with `---@diagnostic disable` or `---@diagnostic disable-next-line`, all warnings for that field name will be suppressed
8+
* `REVERT` Reverted commit 1dd194da537df432f97295ea167dfef19acd7a4e which fix for type inference in and/or idioms. The circular dependency guard introduced issues with type narrowing in if-blocks where variables are reassigned (e.g., `if x then x = 0 end` would lose type information from the if-block in subsequent code). This needs a more refined solution to balance fixing circular dependencies without breaking type narrowing.
9+
610
## 3.18.1
711
`2026-04-08`
812
* `FIX` Allow `global` to be used as an identifier in Lua 5.5 when it is not part of a `global` declaration

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3467,5 +3467,5 @@
34673467
"sponsor": {
34683468
"url": "https://github.com/LuaLS/lua-language-server/issues/484"
34693469
},
3470-
"version": "3.18.1"
3470+
"version": "3.18.2"
34713471
}

package/build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local json = require 'json-beautify'
22

3-
local VERSION = "3.18.1"
3+
local VERSION = "3.18.2"
44

55
local fsu = require 'fs-utility'
66
local package = json.decode(fsu.loadFile(ROOT / 'package.json'))

0 commit comments

Comments
 (0)