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