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
That numbered keys of typed tables are recognised as the correct type. They where in 3.5.x, but on upgrading to 3.6 they stopped.
Actual Behaviour
3.6 complains about the type of my numbered keys. It lists the type of each numbered key as being any of the types of all my numbered keys.
Reproduction steps
When calling myFunc it should still recognise that myObject[1] is the defined type of string in the MyObject class. This ype of setup didn't complain in 3.5.x.
I have all of the Diagnostics: Group File Status set to any other than codestyle.
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
That numbered keys of typed tables are recognised as the correct type. They where in 3.5.x, but on upgrading to 3.6 they stopped.
Actual Behaviour
3.6 complains about the type of my numbered keys. It lists the type of each numbered key as being any of the types of all my numbered keys.
Reproduction steps
When calling
myFunc
it should still recognise thatmyObject[1]
is the defined type of string in theMyObject
class. This ype of setup didn't complain in 3.5.x.I have all of the
Diagnostics: Group File Status
set toany
other thancodestyle
.Additional Notes
No response
Log File
No response
The text was updated successfully, but these errors were encountered: