How using a var local variable in a closure prevents the compiler from doing smart-cast?
I read that If we use the local (var) variable in a closure, then it is no lo