Skip to content

Commit

Permalink
fix memory leak with ---@enum(partical)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Aug 8, 2024
1 parent e6a5b41 commit aaf1624
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->

## 3.10.3
`2024-8-8`
* `FIX` Memory leak with `---@enum(partical)`

## 3.10.2
`2024-8-7`
* `NEW` Add support for binary metamethod on right operand [#2777](https://github.com/LuaLS/lua-language-server/pull/2777)
Expand Down
2 changes: 1 addition & 1 deletion script/vm/type.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ local function checkParentEnum(parentName, child, uri, mark, errs)
if enums then
enums = util.arrayMerge(enums, denums)
else
enums = denums
enums = util.arrayMerge({}, denums)
end
end
end
Expand Down

0 comments on commit aaf1624

Please sign in to comment.