Debian Codegraph @

_test/redeclaration3.go

raw symbols SCIP
1 package main
2
3 func main() {
4 var foo int
5 foo = 2
6
7 type foo struct{}
8 var bar foo
9 println(bar)
10 }
11
12 // Error:
13 // ../_test/redeclaration3.go:7:7: foo redeclared in this block