☰
Debian Codegraph
@
2:0.22.0+ds-2
2:0.22.0+ds-1
/
/
go
/
analysis
/
passes
/
modernize
/
testdata
/
src
/
any
/
generated.go
☽
☼
go/analysis/passes/modernize/testdata/src/any/generated.go
code
plain
raw
symbols
SCIP
BSD-3-clause
2009 The Go Authors
debian/copyright
1
// Code generated by hand. DO NOT EDIT.
2
3
package
any
4
5
func
_(x
interface
{}) {}
// want "interface{} can be replaced by any"
6
7
func
_() {
8
var
x
interface
{}
// want "interface{} can be replaced by any"
9
const
any =
1
10
var
y
interface
{}
// nope: any is shadowed here
11
_, _ = x, y
12
}