Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->
* `FIX` Incorrect inject-field message for extra table field in exact class

* `FIX` adds the `|lambda|` operator to the `Lua.runtime.nonstandardSymbol` configuration template, which allows the use of that option. Previously, support for it existed in the parser, but we could not actually use the option because it is not recognised in the configuration.
* `FIX` Typed `@field` (eg `---@field [string] boolean`) should not override other defined field [#2171](https://github.com/LuaLS/lua-language-server/issues/2171), [#2711](https://github.com/LuaLS/lua-language-server/issues/2711)
Expand Down
2 changes: 1 addition & 1 deletion script/core/diagnostics/inject-field.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ return function (uri, callback)
end
local message = lang.script('DIAG_INJECT_FIELD', {
class = vm.getInfer(src):view(uri),
field = guide.getKeyName(src),
field = guide.getKeyName(field),
fix = '',
})
callback {
Expand Down
Loading