242b97febf
In case of TRAIT_IMPL the incorrect this was written. Reuse the code from the common mapSignature #KT-3413 Fixed
15 lines
228 B
Kotlin
15 lines
228 B
Kotlin
open class Base
|
|
|
|
trait Trait : Base {
|
|
private val value : String
|
|
get() = "OK"
|
|
|
|
fun toString() = object {
|
|
fun foo() = value
|
|
}.foo()
|
|
}
|
|
|
|
class Derived : Trait, Base()
|
|
|
|
fun box() = "${Derived()}"
|