1eac4d67de
Sometimes it's allowed to parse "annotation" unescaped even if other annotations must be escaped. A set of annotations and their options tests. A swarm of existing tests fixed (mostly kotlin.annotation.annotation() added to txt-files). STUB_VERSION increased. Some quick fixes slightly changed.
24 lines
781 B
Kotlin
Vendored
24 lines
781 B
Kotlin
Vendored
enum class E {
|
|
<!ILLEGAL_MODIFIER!>public<!> <!ILLEGAL_MODIFIER!>final<!> SUBCLASS {
|
|
fun foo() {}
|
|
},
|
|
|
|
<!ILLEGAL_MODIFIER!>public<!> PUBLIC,
|
|
<!ILLEGAL_MODIFIER!>protected<!> PROTECTED,
|
|
<!ILLEGAL_MODIFIER!>private<!> PRIVATE,
|
|
<!ILLEGAL_MODIFIER!>internal<!> INTERNAL,
|
|
|
|
<!ILLEGAL_MODIFIER!>abstract<!> ABSTRACT,
|
|
<!ILLEGAL_MODIFIER!>open<!> OPEN,
|
|
<!ILLEGAL_MODIFIER!>override<!> OVERRIDE,
|
|
<!ILLEGAL_MODIFIER!>final<!> FINAL,
|
|
|
|
<!ILLEGAL_MODIFIER!>inner<!> INNER,
|
|
<!ENUM_ENTRY_USES_DEPRECATED_OR_NO_DELIMITER!>annotation<!> ANNOTATION,
|
|
<!ILLEGAL_MODIFIER!>enum<!> ENUM,
|
|
<!ILLEGAL_MODIFIER!>out<!> OUT,
|
|
<!ILLEGAL_MODIFIER!>in<!> IN,
|
|
<!ILLEGAL_MODIFIER!>vararg<!> VARARG,
|
|
<!ILLEGAL_MODIFIER!>reified<!> REIFIED
|
|
}
|