☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
redeclaration1.go
☽
☼
_test/redeclaration1.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
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