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).
8 lines
216 B
Kotlin
Vendored
8 lines
216 B
Kotlin
Vendored
<!WRONG_MODIFIER_TARGET!>enum<!> interface Some {
|
|
// Enum part
|
|
<!ABSTRACT_MEMBER_NOT_IMPLEMENTED, ENUM_ENTRY_USES_DEPRECATED_OR_NO_DELIMITER!>D<!>
|
|
|
|
// Interface like part
|
|
fun test()
|
|
val foo: Int
|
|
} |