Files
kotlin-fork/idea/testData/inspectionsLocal/moveLambdaOutsideParentheses/inapplicable3.kt
T

11 lines
151 B
Kotlin
Vendored

// PROBLEM: none
fun <T> doSomething(a: T) {}
fun foo(x: Int) {
if (x == 1) {
doSomething(x)
}
}
fun x() <caret>{ doSomething("x") }