mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
24 lines
433 B
Plaintext
24 lines
433 B
Plaintext
// "Opt in for 'B' in containing file 'existingFileAnnotationWithPackage.kt'" "true"
|
|
// WITH_STDLIB
|
|
@file:OptIn(A::class, B::class)
|
|
|
|
package p
|
|
|
|
@RequiresOptIn
|
|
annotation class A
|
|
|
|
@RequiresOptIn
|
|
annotation class B
|
|
|
|
@A
|
|
fun f() {}
|
|
|
|
@B
|
|
fun g() {}
|
|
|
|
fun h() {
|
|
g()
|
|
}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix |