Skip to content

Commit 273d35f

Browse files
committed
staticcheck: fix test case for Go 1.17
1 parent 98c3eca commit 273d35f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

staticcheck/testdata/src/CheckTypedNilInterface/CheckTypedNilInterface.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,3 +211,5 @@ func test() {
211211
_ = any((*int)(nil)) == nil // want `never true`
212212
_ = any((error)(nil)) == nil
213213
}
214+
215+
type any = interface{}

0 commit comments

Comments
 (0)