Files
kotlin-fork/plugins/noarg/testData/diagnostics/noNoargCtorInSuperclass.kt
T
Ilya Kirillov 69c024a5ce [FIR] optimize deprecation calculation for symbols
All symbols except member callables can be deprecated if they have non-empty annotation list

^KT-56800 fixed
2023-02-24 16:10:57 +01:00

8 lines
156 B
Kotlin
Vendored

// FIR_IDENTICAL
annotation class NoArg
open class Base(val s: String)
@NoArg
class <!NO_NOARG_CONSTRUCTOR_IN_SUPERCLASS!>Derived<!>(s: String) : Base(s)