☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
redeclaration5.go
☽
☼
_test/redeclaration5.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
type
foo
struct
{
5
yolo
string
6
}
7
8
type
foo
struct
{}
9
var
bar
foo
10
println(bar)
11
}
12
13
// Error:
14
// ../_test/redeclaration5.go:8:7: foo redeclared in this block