Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/inference/kt41989.kt
T
2020-09-29 10:17:42 +03:00

19 lines
289 B
Kotlin
Vendored

// ISSUE: KT-41989
interface A
interface B {
fun A.withBottomBorder(): A = this
}
interface C : B {
val lineCellStyle: (A.() -> Unit)?
get() = if (cond()) {
{
withBottomBorder()
}
} else null
}
fun cond(): Boolean = true