当前作用域内存在同名的重复属性。
A duplicate Attribute exists with the same name in the current scope.
标识完成建议只存取在当前作用域的类型。
Symbol Completion only suggests types accessible at the current location.
仔细检查函数中所有使用的变量,如果有一个变量不是当前作用域定义的,而且使用了不止一次,那么我们就应该把这个变量保存在局部变量中,而使用这个局部变量来进行读写操作。
Watch the variables being used in a function. If you notice a function using an out-of-scope variable more than once, store it in a local variable and use that instead.
应用推荐