Debian Codegraph @

_test/redeclaration1.go

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