blob: 1e385e6bf61c20519b9404d767fe0e564b880a1a [file]
// RUN_PIPELINE_TILL: FRONTEND
// DIAGNOSTICS: -UNUSED_PARAMETER
open class C {
open fun <!INVALID_VERSIONING_ON_NONFINAL_CLASS!>foo<!>(
@IntroducedAt("1") a: Int = 1,
@IntroducedAt("2") b: Int = 2,
){ }
fun <!INVALID_VERSIONING_ON_NONFINAL_CLASS!>foo2<!>(
@IntroducedAt("1") a: Int = 1,
@IntroducedAt("2") b: Int = 2,
){ }
}
abstract class D {
abstract fun <!INVALID_VERSIONING_ON_NONFINAL_CLASS!>foo<!>(
@IntroducedAt("1") a: Int = 1,
@IntroducedAt("2") b: Int = 2,
)
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, secondaryConstructor */