var a bool a=true 出错(bool is not a type) 是什么原因?
你是不是在其他地方吧bool定义成了一个变量了,类似图中的用法?
var a bool =true
@beibei var a bool a=true 为什么这样写在goland上是错误的