Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArg.kt
T
2016-07-20 15:39:19 +03:00

9 lines
149 B
Kotlin
Vendored

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