9 lines
137 B
Kotlin
Vendored
9 lines
137 B
Kotlin
Vendored
class Test {
|
|
fun foo(f: (String) -> String): Test = this
|
|
}
|
|
|
|
fun test() {
|
|
val abc = Test().foo()?.foo({ "str" }).foo {<caret>}
|
|
}
|
|
|