Files
Vladimir Dolzhenko 1734a04d83 [kotlin] Add after-warnings for intention test data
GitOrigin-RevId: 6124edbaebaf204f9e40b0f510ffc03209a46f6c
2021-09-22 16:12:45 +00:00

3 lines
144 B
Plaintext

// AFTER-WARNING: Parameter 'y' is never used, could be renamed to _
fun foo(a: (Int) -> Int): Int = a(1)
val x = foo { foo { y -> <caret>it } }