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
In the following snippet, auto completion is lost on a table after inferring its type by index
--- @diagnosticdisable:unused-local--- @classTest2--- @fieldworldintegerlocalTest2= {}
--- @typeTest2localtdirect--- @typeTest2[]localtarray-- Direct inferencelocalb=tdirect-- type . here, shows "world"-- Inferred by literal indexlocalc=tarray[1] -- type . here, no auto completion
When hovering it can be seen that the table loses its fields when inferred by literal index
Environment:
OS: Windows
Client: VSCode
Extension version: 2.0.2
The text was updated successfully, but these errors were encountered:
In the following snippet, auto completion is lost on a table after inferring its type by index
When hovering it can be seen that the table loses its fields when inferred by literal index
Environment:
The text was updated successfully, but these errors were encountered: