How using a var local variable in a closure prevents the compiler from doing smart-cast for this variable?

前端 未结 0 1826
醉酒成梦
醉酒成梦 2021-01-20 01:39

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题