☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
redeclaration3.go
☽
☼
_test/redeclaration3.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
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