为什么我看教程不报错,自己敲就抱错了,expected 0 arguments but found

img

为什么我看教程不报错,自己敲就抱错了,expected 0 arguments but found

看看是不是和这个类似
https://blog.csdn.net/weixin_47578908/article/details/109188204