<Why can't mutable variable be used for smart cast...
# forum
r
Why can't mutable variable be used for smart cast? a value of a mutable variable can change. but the type can’t change. It’s fixed on the type of a default value. I think it’s safe in terms of type then. Why can’t we use a smart cast with a mutable variable? 1 post - 1 participant Read full topic