Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArgOnly.kt.after
T
2015-10-01 17:35:24 +03:00

10 lines
123 B
Plaintext
Vendored

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