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.
11 lines
238 B
Kotlin
Vendored
11 lines
238 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
|
class Annotation {
|
|
fun setProblemGroup() {}
|
|
fun getQuickFixes() = 0
|
|
}
|
|
|
|
fun registerQuickFix(annotation: Annotation) {
|
|
annotation.setProblemGroup()
|
|
val fixes = annotation.getQuickFixes()
|
|
}
|