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

10 lines
130 B
Plaintext
Vendored

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