is class field public
and private
an undocumented feature?
#1424
Unanswered
muppet9010
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I believe that they are highlighted because EmmyLua supports them but the language server currently does not really support them. So you will get highlighting but no extra functionality from it as far as I am aware. There was actually an issue that requested exactly what you are asking that has been marked a duplicate of #1316. |
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 made the below class and was surprised to see the field names
public
andprivate
seem to be special. Is this intended un-documented feature or a bug/undesired internal behaviour leaking out?I made:
But this reports as being happy
I also noticed that
private
in the field name has the same effect.I just changed my desired fieldName from
public
topubliclyVisible
so no real issue.Beta Was this translation helpful? Give feedback.
All reactions