How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Type Checking
Expected Behaviour

Actual Behaviour



Reproduction steps
localcount=0;
localtime=0;
localallcount=0;
localalltime=0;
localavg=0;
---@typeinteger[]localallstats= {}
fori, valueinipairs(allstats) docount=count+1;
time=time+1;
allcount=allcount+1;
alltime=alltime+1;
endifallcount>0thenavg=alltime/allcount;
endAdditional Notes
Previous fix: #2036
Log File
No response
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Type Checking
Expected Behaviour
Actual Behaviour
Reproduction steps
Additional Notes
Previous fix: #2036
Log File
No response