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
kamoshi
changed the title
Using an union of string literals as table key doesn't force use of the keys
Using a union of string literals as a table key doesn't force use of the keys
Jan 23, 2024
There's a lot of issues with the support for aliases/custom types. Seems to be an experimental feature that doesn't have full support.
As an example, there's no information in the documentation I linked that informs what the grammar for alias is incomplete. (For example, you can put some tokens like + and > after the | and it will work and change how the autodoc is formatted.
Would like first class support for this, though I suspect it is coming with the rework.
How are you using the lua-language-server?
NeoVim
Which OS are you using?
Linux
What is the issue affecting?
Type Checking
Expected Behaviour
should work roughly like
Actual Behaviour
Reproduction steps
Additional Notes
No response
Log File
No response
The text was updated successfully, but these errors were encountered: