Smart cast to 'xxx' is impossible, because 'xxx' is a mutable property that could have been changed by this time
根本原因是可变变量和不可变变量的问题
具体查看var和val的区别
http://www.jianshu.com/p/d5e505fe29a4
Smart cast to 'xxx' is impossible, because 'xxx' is a mutable property that could have been changed by this time
根本原因是可变变量和不可变变量的问题
具体查看var和val的区别
http://www.jianshu.com/p/d5e505fe29a4