Files
Alexander Udalov f98a22e8e4 Fir2Ir: enable IR-based fake override builder
Invert the logic of IR/FIR2IR-based generators: change the CLI argument
to -Xuse-fir-fake-override-builder, test directive to
USE_FIR_BASED_FAKE_OVERRIDE_GENERATOR, etc.

The changes in test data caused by using IR fake override builder by
default are in the subsequent commit.

 #KT-61514
2024-02-29 10:14:31 +00:00

16 lines
193 B
Kotlin
Vendored

// FIR_IDENTICAL
// TARGET_BACKEND: JVM
open class Base
class Child: Base()
interface I {
fun foo(): Base
}
abstract class J {
abstract fun foo(): Child
}
abstract class A : I, J()