You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code below can run but the go plugin says it contains an error:
package main
import (
"fmt""strconv"
)
funcmain() {
ShouldAllowParameterShadowing("param")
}
funcShouldAllowParameterShadowing(istring) {
fmt.Println(i)
fori:=0; i<3; i++ { // Inspection error "No new variables on left side of :="fmt.Println(strconv.Itoa(i))
}
}