6bf987e772
The logic of the AllOpen compiler plugin for opening classes and opening declarations of classes does not match. This leads to declarations being open when the containing class is not open. There is a warning reported, for exactly this situation. However, creating meta-annotations of AllOpen annotation is quite common in certain ecosystems. In particular, Spring. This can lead to a warning if the meta-annotation has properties. Align the class kind check for members, so they are not opened if the containing class cannot be opened. ^KT-63507 Fixed
11 lines
154 B
Kotlin
Vendored
11 lines
154 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// WITH_STDLIB
|
|
|
|
annotation class AllOpen
|
|
|
|
@AllOpen
|
|
annotation class ConsoleCommands(
|
|
val value: String = "",
|
|
val scope: String
|
|
)
|