alilotfi
02/15/2017, 9:56 AMinc()/dec() shouldn't mutate the receiver object.I don't get it exactly Does this mean that my class contains bad smell?
class Report {
var qualified = 0
var disqualified = 0
operator fun inc() = apply { qualified++ }
operator fun dec() = apply { disqualified++ }
}