https://kotlinlang.org logo
#tornadofx
Title
# tornadofx
t

tieskedh

09/07/2017, 9:56 AM
@edvin I will revert by your suggestion. @Ruckus we don't implement inc the way it should be implemented according to the documentation. https://kotlinlang.org/docs/reference/operator-overloading.html#increments-and-decrements If i read the documentation correctly, the inc and dec does not change the values globally. If we need to keep it in the way it is, so with changing the variable globally, I suggest to make another function called increment, where the value really changes globally and for inc and dec stick to the kotlin guide