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

10 lines
132 B
Kotlin

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