25edf64daf
This is needed for kapt + JVM IR. #KT-49682
46 lines
728 B
Kotlin
Vendored
46 lines
728 B
Kotlin
Vendored
class Test {
|
|
private val foo = Example.FOO
|
|
|
|
companion object {
|
|
enum class Example { FOO }
|
|
}
|
|
}
|
|
|
|
class Test2 {
|
|
private val foo = Example.FOO
|
|
|
|
companion object Amigo {
|
|
enum class Example { FOO }
|
|
}
|
|
}
|
|
|
|
class Test3 {
|
|
private val foo = Amigo.Example.FOO
|
|
|
|
object Amigo {
|
|
enum class Example { FOO }
|
|
}
|
|
}
|
|
|
|
class Test4 {
|
|
private val foo = Foo.constProperty
|
|
|
|
companion object {
|
|
object Foo {
|
|
const val constProperty = 1
|
|
}
|
|
}
|
|
}
|
|
|
|
class Test5 {
|
|
private val foo = Amigos.Companion.Goo.Example.FOO
|
|
|
|
class Amigos {
|
|
companion object {
|
|
class Goo {
|
|
enum class Example { FOO }
|
|
}
|
|
}
|
|
}
|
|
}
|