Files
kotlin-fork/plugins/noarg/testData/diagnostics/innerClass.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

15 lines
288 B
Kotlin
Vendored

annotation class NoArg
class Outer {
@NoArg
inner class <!NOARG_ON_INNER_CLASS!>Inner<!>(val b: Any)
}
fun local() {
@NoArg
class <!NOARG_ON_LOCAL_CLASS!>Local<!>(val l: Any) {
@NoArg
inner class <!NOARG_ON_INNER_CLASS!>InnerLocal<!>(val x: Any)
}
}