b7b7dd1000
#KT-60111 Fixed
16 lines
338 B
Kotlin
Vendored
16 lines
338 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !RENDER_IR_DIAGNOSTICS_FULL_TEXT
|
|
// !LANGUAGE: +IntrinsicConstEvaluation
|
|
// TARGET_BACKEND: JVM_IR
|
|
// WITH_STDLIB
|
|
|
|
object A {
|
|
const val recursive1: Int = <!EVALUATION_ERROR!>1 + B.recursive2<!>
|
|
}
|
|
|
|
class B {
|
|
companion object {
|
|
const val recursive2: Int = <!EVALUATION_ERROR!>A.recursive1 + 2<!>
|
|
}
|
|
}
|