You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a variable has type of sometype[][] where sometype can be any type except any, the 2nd-level ipairs fails to use correct type for the value variable.
To Reproduce
---@typestring[][]localv= {}
for_, ainipairs(v) dofori, binipairs(a) dolocaln=b-- "n" is NOT string!endend
Expected behavior
In above code, n (and b) type should be string.
Screenshots
Environment (please complete the following information):
OS: Windows
Is WSL remote? No
Client: VSCode
Additional context
The variable a above correctly set as string[].
Describe the bug
When a variable has type of
sometype[][]
wheresometype
can be any type exceptany
, the 2nd-levelipairs
fails to use correct type for the value variable.To Reproduce
Expected behavior
In above code,
n
(andb
) type should be string.Screenshots

Environment (please complete the following information):
Additional context
The variable
a
above correctly set asstring[]
.Provide logs
file_d%3A_Data_Development_love-11.3-win64_nlay.log
The text was updated successfully, but these errors were encountered: