Skip to content

Commit 5eaa187

Browse files
committed
Merge branch 'master' into pr/ian-pascoe/3330
2 parents 6ccb419 + 65a3fa0 commit 5eaa187

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
5+
* `FIX` convert all keys to string before using
56
* `FIX` Generic class inheritance with type arguments now works correctly (e.g., `class Bar: Foo<integer>`) [#1929](https://github.com/LuaLS/lua-language-server/issues/1929)
67
* `FIX` Method return types on generic classes now resolve correctly (e.g., `Box<string>:getValue()` returns `string`) [#1863](https://github.com/LuaLS/lua-language-server/issues/1863)
78
* `FIX` Self-referential generic classes no longer cause infinite expansion in hover display [#1853](https://github.com/LuaLS/lua-language-server/issues/1853)

script/locale-loader.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ local function mergeKey(key, k)
22
if not key then
33
return k
44
end
5+
k = tostring(k)
56
if k:sub(1, 1):match '%w' then
67
return key .. '.' .. k
78
else

0 commit comments

Comments
 (0)