Kotlin: Add FP test case for useless parameter query

This commit is contained in:
Tamas Vajk
2022-11-16 14:51:21 +01:00
parent c70f3d35d0
commit 35078738bc
2 changed files with 4 additions and 0 deletions

View File

@@ -19,3 +19,6 @@ object O {}
fun C.fn() {}
fun C.Companion.fn() {}
fun O.fn() {}
@Suppress("UNUSED_PARAMETER")
fun fn2(a: Int) {}

View File

@@ -1,2 +1,3 @@
| Test.kt:11:8:11:18 | a | The parameter 'a' is never used. |
| Test.kt:19:5:19:5 | <this> | The parameter '<this>' is never used. |
| Test.kt:24:9:24:14 | a | The parameter 'a' is never used. |