Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolveWithStdlib/callableReferences/coercionToUnit.kt
T

10 lines
150 B
Kotlin
Vendored

public fun <T> T.myAlso(block: (T) -> Unit): T = TODO()
class B {
fun add(x: String): Boolean = true
}
fun main(b: B) {
"".myAlso(b::add)
}