Files
Sergej Jaskiewicz 02180e8685 Factor out duplicated mangling logic for functions into the base class
^KT-57777 Fixed
^KT-57818 Fixed
2023-05-26 10:55:24 +00:00

15 lines
301 B
Kotlin
Vendored

// FIR_IDENTICAL
// WITH_STDLIB
class MyClass(val value: String)
operator fun MyClass.provideDelegate(host: Any?, p: Any): String =
this.value
operator fun String.getValue(receiver: Any?, p: Any): String =
this
val testO by MyClass("O")
val testK by "K"
val testOK = testO + testK