File tree 3 files changed +10
-0
lines changed
3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 7
7
* ` FIX ` [ #1355 ] ( https://github.com./sumneko/lua-language-server/issues/1355 )
8
8
* ` FIX ` [ #1363 ] ( https://github.com./sumneko/lua-language-server/issues/1363 )
9
9
* ` FIX ` [ #1365 ] ( https://github.com./sumneko/lua-language-server/issues/1365 )
10
+ * ` FIX ` [ #1367 ] ( https://github.com./sumneko/lua-language-server/issues/1367 )
10
11
* ` FIX ` [ #1368 ] ( https://github.com./sumneko/lua-language-server/issues/1368 )
11
12
12
13
## 3.5.0
Original file line number Diff line number Diff line change @@ -1054,6 +1054,9 @@ local function compileLocal(source)
1054
1054
-- for x = ... do
1055
1055
if source .parent .type == ' loop' then
1056
1056
if source .parent .loc == source then
1057
+ if bindDocs (source ) then
1058
+ return
1059
+ end
1057
1060
vm .setNode (source , vm .declareGlobal (' type' , ' integer' ))
1058
1061
end
1059
1062
end
Original file line number Diff line number Diff line change @@ -3755,3 +3755,9 @@ function F(...)
3755
3755
end
3756
3756
end
3757
3757
]]
3758
+
3759
+ TEST ' integerA' [[
3760
+ ---@type integerA
3761
+ for <?i?> = 1, 10 do
3762
+ end
3763
+ ]]
You can’t perform that action at this time.
0 commit comments