mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Kotlin: Add test case for useless parameter FP
This commit is contained in:
@@ -7,3 +7,5 @@ class B : A<B, Int> {
|
||||
println("a")
|
||||
}
|
||||
}
|
||||
|
||||
fun fn(a: Int = 10) {}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
| Test.kt:11:1:11:22 | p2 | The parameter 'p2' is never used. |
|
||||
| Test.kt:11:8:11:18 | a | The parameter 'a' is never used. |
|
||||
|
||||
Reference in New Issue
Block a user