Open hassaneldash opened 3 months ago
var fishFoodTreats = 6 fishFoodTreats = fishFoodTreats?.dec()
Kotlin: Assignment type mismatch: actual type is 'kotlin/Int?' but 'kotlin/Int' was expected
It must be var fishFoodTreats :Int? = 6 fishFoodTreats = fishFoodTreats?.dec()
var fishFoodTreats = 6 fishFoodTreats = fishFoodTreats?.dec()
Kotlin: Assignment type mismatch: actual type is 'kotlin/Int?' but 'kotlin/Int' was expected
It must be var fishFoodTreats :Int? = 6 fishFoodTreats = fishFoodTreats?.dec()