Skip to content

Commit 0bd78de

Browse files
authored
adds test case
1 parent 682925b commit 0bd78de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testdata/unused-param.go

+4
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,8 @@ func innerAnonymousFunctionWithUsage() {
177177
a += 1
178178
}
179179
innerFunc(1)
180+
181+
return someFunc(func(values []int) float64 { // MATCH /parameter 'values' seems to be unused, consider removing or renaming it as _/
182+
return 1.1
183+
})
180184
}

0 commit comments

Comments
 (0)