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
These missing locations makes it difficult to find the location in a definitions file where these types are declared. These locations are useful to power Go To Definition functionality and documentation comments inlined in definitions files.
The text was updated successfully, but these errors were encountered:
Props in
AstStatDeclareClass
currently do not record their typeLocations in the property type created, like AstTypeTables do (following on from #802):luau/Analysis/src/TypeInfer.cpp
Lines 1782 to 1805 in e76802f
It seems that there is no position stored in the Ast for
AstDeclaredClassProp
, so that will need to be added first.Likewise, the FunctionType produced via
AstStatDeclareFunction
does not record aFunctionDefinition
:luau/Analysis/src/TypeInfer.cpp
Line 1836 in e76802f
These missing locations makes it difficult to find the location in a definitions file where these types are declared. These locations are useful to power Go To Definition functionality and documentation comments inlined in definitions files.
The text was updated successfully, but these errors were encountered: