Local declaration of 'XXX' hides instance variable
今天调试程序遇到这么一个警告!
Local declaration of 'XXX' hides instance variable
遇到这种原因,是因为本地变量跟函数参数变量同名。开来,还是要注意变量的命名啊!
Local declaration of 'XXX' hides instance variable
今天调试程序遇到这么一个警告!
Local declaration of 'XXX' hides instance variable
遇到这种原因,是因为本地变量跟函数参数变量同名。开来,还是要注意变量的命名啊!
本文标题:LoLocal declaration of 'XXX' hid
本文链接:https://www.haomeiwen.com/subject/kmghpttx.html
网友评论