4bd48c4796
Most of modifier diagnostic is expressed by REDUNDANT_MODIFIER, INCOMPATIBLE_MODIFIERS, REPEATED_MODIFIER, WRONG_MODIFIER_TARGET, WRONG_MODIFIER_PARENT. A set of modifier diagnostics is not in use now (but not deleted yet).
7 lines
118 B
Kotlin
Vendored
7 lines
118 B
Kotlin
Vendored
<!WRONG_MODIFIER_TARGET!>sealed<!> enum class SealedEnum {
|
|
FIRST,
|
|
SECOND;
|
|
|
|
class Derived: SealedEnum()
|
|
}
|