blob: 0bfcb8bbec3b501709d0e2ab54a9dfee367b1e15 [file]
// RUN_PIPELINE_TILL: FRONTEND
// ISSUE: KT-69463
// LANGUAGE: +MultiPlatformProjects
// MODULE: common
// FILE: common.kt
expect interface Foo {
fun test(a: Int = 7)
}
// MODULE: platform()()(common)
// FILE: platform.kt
actual interface Foo {
actual fun test(a: Int)
}
open class FooFoo(val a: Foo): Foo by a
class Final(f:Foo): FooFoo(f) {
override fun test(a: Int) {
super.<!SUPER_CALL_WITH_DEFAULT_PARAMETERS!>test<!>()
}
}
/* GENERATED_FIR_TAGS: actual, classDeclaration, expect, functionDeclaration, inheritanceDelegation, integerLiteral,
interfaceDeclaration, override, primaryConstructor, propertyDeclaration, superExpression */