File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 4
4
* ` FIX ` [ #790 ] ( https://github.com/sumneko/lua-language-server/issues/790 )
5
5
* ` FIX ` [ #798 ] ( https://github.com/sumneko/lua-language-server/issues/798 )
6
6
* ` FIX ` [ #804 ] ( https://github.com/sumneko/lua-language-server/issues/804 )
7
+ * ` FIX ` [ #805 ] ( https://github.com/sumneko/lua-language-server/issues/805 )
7
8
* ` FIX ` [ #806 ] ( https://github.com/sumneko/lua-language-server/issues/806 )
8
9
* ` FIX ` [ #807 ] ( https://github.com/sumneko/lua-language-server/issues/807 )
9
10
Original file line number Diff line number Diff line change @@ -1036,7 +1036,8 @@ compileNodeMap = util.switch()
1036
1036
if src .type == ' local'
1037
1037
or src .type == ' tablefield'
1038
1038
or src .type == ' tableindex'
1039
- or src .type == ' setglobal' then
1039
+ or src .type == ' setglobal'
1040
+ or guide .isGlobal (src ) then
1040
1041
if src .parent .type ~= ' funcargs'
1041
1042
and not src .dummy then
1042
1043
pushForward (noders , getID (src ), id )
Original file line number Diff line number Diff line change @@ -987,3 +987,8 @@ local mt
987
987
---@type number
988
988
function mt:f(<?x?>) end
989
989
]]
990
+
991
+ TEST ' Test' [[
992
+ ---@class Test
993
+ _G.<?Test?> = {}
994
+ ]]
You can’t perform that action at this time.
0 commit comments