☰
Debian Codegraph
@
2026.2.1-1
2026.1-4
2026.1-3
/
/
staticcheck
/
sa4023
/
testdata
/
go1.9
/
CheckTypedNilInterface
/
CheckTypedNilInterface.go
☽
☼
staticcheck/sa4023/testdata/go1.9/CheckTypedNilInterface/CheckTypedNilInterface.go
code
plain
raw
Expat
2016-2017 Dominik Honnef
debian/copyright
1
package pkg
2
3
type any = interface{}
4
5
func test() {
6
_ = any((*int)(nil)) == nil //@ diag(`never true`)
7
_ = any((error)(nil)) == nil
8
}