0c0a8f9849
#KT-41989 Fixed #KT-37317 Fixed
19 lines
289 B
Kotlin
Vendored
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
|