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?
Hover
Expected Behaviour
.
Actual Behaviour
In the following code:
---@classstore<T>: {set:fun(self:store<T>,key:integer,value:T),get:fun(self:store<T>,key:integer):T}localstring_store---@typestore<string>When you hover string_store the type recursively expands leading to a confusing hover hint:
local string_store: store<string>|{ set: fun(self: store<<T>>|{ set: fun(self: store<<T>>|{ set: unknown, get: fun(self: store<<T>>|{ set: fun(self: store<<T>>|{ set: unknown, get: unknown }, key: int...(too long)...):string }
Reproduction steps
.
Additional Notes
No response
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?
Hover
Expected Behaviour
.
Actual Behaviour
In the following code:
When you hover string_store the type recursively expands leading to a confusing hover hint:
Reproduction steps
.
Additional Notes
No response
Log File
No response