Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArgOnly.kt
T

9 lines
139 B
Kotlin
Vendored

// "Create member function 'foo'" "true"
class A<T>(val n: T) {
}
fun test() {
val a: A<Int> = A(1).<caret>foo { p: Int -> p + 1 }
}