Kotlin: Add test case for useless parameter FP

This commit is contained in:
Tamas Vajk
2022-10-12 12:42:27 +02:00
parent fc810ddbf4
commit aa9dc3a764
2 changed files with 4 additions and 0 deletions

View File

@@ -7,3 +7,5 @@ class B : A<B, Int> {
println("a")
}
}
fun fn(a: Int = 10) {}

View File

@@ -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. |