Skip to content

Why won't lua_ls report any errors when writting extra fields in the variable declaration? #2595

Closed Answered by carsakiller
nullptr-yxw asked this question in Q&A
Discussion options

You must be logged in to vote

I think you are looking for an exact class. Marking a class as exact should raise a warning when trying to inject fields.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nullptr-yxw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants