Lint when you forgot to assign value to field on custom setter


#1

Hi

It will be cool to have a lint rule that warns you if you forgot to assign the value to the field inside a custom setter.

var items = items
	set(value) {
           // Show Lint here because Im not setting value to field
	}

In the fail case I forgot to assign the value to the field and then the value isnt refreshed.


#2

Thanks for the idea! I’ve filed a feature request in YouTrack.