Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createClass/callExpression/afterCallWithLambdaArg.kt
T

10 lines
159 B
Kotlin

// "Create class 'Foo'" "true"
fun test() {
val a = Foo(2, "2") { (p: Int) -> p + 1 }
}
class Foo(i: Int, s: String, function: Function1<Int, Int>) {
}