1df2851611
Similarly to the other places in the IR backend (e.g. see `copyValueParametersToStatic` in the same file). In JVM IR, these names are used for example for receiver parameters of methods copied to DefaultImpls classes. Since Java stub code generated by kapt mentions them, it fixes a few issues in tests on kapt + JVM IR (KT-49682).
16 lines
226 B
Kotlin
Vendored
16 lines
226 B
Kotlin
Vendored
interface IntfWithoutDefaultImpls
|
|
|
|
interface IntfWithDefaultImpls {
|
|
fun a() {}
|
|
}
|
|
|
|
interface Intf {
|
|
companion object {
|
|
val BLACK = 1
|
|
const val WHITE = 2
|
|
}
|
|
|
|
val color: Int
|
|
get() = BLACK
|
|
}
|