@relizarov ("Roman Elizarov") replied to a tweet by @relizarov:
So, there are two ways to desugar "--percent" expression on integers:
1: val upd = get() - 1; set(upd); get()
2: val upd = get() - 1; set(upd); upd
The first one calls property get/set/get and returns 0 in the example. The other calls get/set once and would return -1. /3