arekolek
05/13/2018, 1:09 PMval countGets: Int = 0
get() = ++field
And I got the warning
Reassignment of read-only property via backing field is deprecatedBut I couldn't find anything about this in Google, so what's the recommended way to get the same effect?