bdaacb9427
The AllOpen compiler plugin opens all declarations of the annotated class, regardless of class type. However, it only opens classes (not interfaces, objects, enums, etc). This leads to a warning where members of an annotation are open when annotated. Spring has many such annotations, as it is common to create meta-annotations from the core set of AllOpen supported annotations. ^KT-63507
10 lines
163 B
Kotlin
Vendored
10 lines
163 B
Kotlin
Vendored
// WITH_STDLIB
|
|
// ISSUE: KT-63507
|
|
|
|
annotation class AllOpen
|
|
|
|
@AllOpen
|
|
annotation class SubComponent(
|
|
val <!NON_FINAL_MEMBER_IN_FINAL_CLASS!>scope<!>: String
|
|
)
|