10 func fn(arg1 interface{}, arg2 []int) {
16 var v6 interface{} = []int{}
23 var v8 interface{} = 0
28 sort.Slice(v3, nil) // want `sort\.Slice must only be called on slices, was called on \[1\]int`
29 sort.Slice(v4, nil) // want `sort\.Slice must only be called on slices, was called on string`
33 sort.Slice(v8, nil) // want `sort\.Slice must only be called on slices, was called on int`
34 sort.Slice([]int{}, nil)
35 sort.Slice(0, nil) // want `sort\.Slice must only be called on slices, was called on int`
36 sort.Slice(nil, nil) // want `cannot call sort\.Slice on nil literal`
37 sort.SliceIsSorted(0, nil) // want `sort\.SliceIsSorted must only be called on slices, was called on int`
38 sort.SliceStable(0, nil) // want `sort\.SliceStable must only be called on slices, was called on int`