SpacemanDMM icon indicating copy to clipboard operation
SpacemanDMM copied to clipboard

Feature request: Private set, public get

Open nicbn opened this issue 5 years ago • 0 comments

Feature request:

Add a lint that treats a variable as private if it is being written to (x = something) but not otherwise.

The lint should check whether the variable is used where a private would be allowed. If it is not, the lint checks if an assignment is being done (next token is = but not ==).

nicbn avatar Oct 13 '20 23:10 nicbn