0df3a37303
fix script declarations registration logic in Fir2Ir to allow supertypes of a class to be defined later than the class itself. #KT-64534 fixed
15 lines
209 B
Kotlin
Vendored
15 lines
209 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// IGNORE_LIGHT_ANALYSIS
|
|
// JVM_ABI_K1_K2_DIFF: KT-63963, KT-63964, KT-63960
|
|
// FILE: test.kt
|
|
|
|
fun box(): String = "OK"
|
|
|
|
// FILE: script.kts
|
|
|
|
class A : B, C {}
|
|
|
|
interface B
|
|
|
|
interface C
|