Files
kotlin/idea/testData/quickfix/removeSingleLambdaParameter/multiple.kt
Dmitry Jemerov e2f75463d7 Rewrite AbstractQuickFixTest based on light fixture test case
Don't reconfigure runtime before every test. For consistency,
mark tests that require the runtime with directives instead of relying
on test file names.
2017-03-27 19:48:43 +02:00

10 lines
304 B
Kotlin
Vendored

// "Remove single lambda parameter declaration" "false"
// ACTION: Move lambda argument into parentheses
// ACTION: Rename to _
// ACTION: Specify explicit lambda signature
// ACTION: Specify type explicitly
// RUNTIME_WITH_FULL_JDK
fun main() {
mapOf(1 to 2).forEach { t, <caret>u -> println(t) }
}