Skip to content

Commit c285ca0

Browse files
committed
staticcheck: fix test case for Go 1.17
(cherry picked from commit 273d35f)
1 parent d296b34 commit c285ca0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

staticcheck/testdata/src/CheckTypedNilInterface/CheckTypedNilInterface.go

+2
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)