Local declaration of ‘XXX‘ hides instance variable
Local declaration of ‘XXX‘ hides instance variable
遇到这种原因,是因为本地变量跟函数参数变量同名。要注意变量的命名!
Local declaration of 'XXX' hides instance variable
时间: 2024-10-10 17:03:25
Local declaration of ‘XXX‘ hides instance variable
遇到这种原因,是因为本地变量跟函数参数变量同名。要注意变量的命名!
Local declaration of 'XXX' hides instance variable