fabeca5955
#KT-35475 Fixed
12 lines
190 B
Kotlin
Vendored
12 lines
190 B
Kotlin
Vendored
// PROBLEM: none
|
|
fun main() {
|
|
"hello".foo()
|
|
}
|
|
|
|
fun bar(block: Int.() -> Unit) { block(42) }
|
|
|
|
fun String.foo() = bar {
|
|
println("this: <caret>${this@foo}")
|
|
}
|
|
|
|
fun println(s: String) {} |