Mark fields/globals as const/immutable? #1501
Unanswered
paul-reilly
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Will supports |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't if this is currently possible, or if it's a workable feature request.
I'd like to be able to mark specific fields in a table/class as immutable so that I can get nice error squiggles when trying to assign to them. Same for globals, thinking about global APIs.
This language server really is an excellent addition to the Luasphere btw, thanks!
Beta Was this translation helpful? Give feedback.
All reactions