☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
redeclaration-global0.go
☽
☼
_test/redeclaration-global0.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
type
time
int
4
5
var
time
string
6
7
func
main() {
8
time =
"hello"
9
println(time)
10
}
11
12
// Error:
13
// ../_test/redeclaration-global0.go:5:5: time redeclared in this block
14
// previous declaration at ../_test/redeclaration-global0.go:3:6