mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
21 lines
568 B
Kotlin
21 lines
568 B
Kotlin
// "Propagate 'MyExperimentalAPI' opt-in requirement to 'outer'" "true"
|
|
|
|
@RequiresOptIn
|
|
@Target(AnnotationTarget.FUNCTION)
|
|
annotation class MyExperimentalAPI
|
|
|
|
open class Base {
|
|
@MyExperimentalAPI
|
|
open fun foo() {}
|
|
}
|
|
|
|
class Outer {
|
|
fun outer() {
|
|
class Derived : Base() {
|
|
override fun foo<caret>() {}
|
|
}
|
|
}
|
|
}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixes$HighPriorityPropagateOptInAnnotationFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixes$HighPriorityPropagateOptInAnnotationFix |