blob: 3b00293539cb4bc225de30600e1efd97675460d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// "Opt in for 'MyExperimentalAPI' on 'bar'" "true"
// PRIORITY: HIGH
// COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn
// WITH_RUNTIME
package a.b
@RequiresOptIn
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
annotation class MyExperimentalAPI
@MyExperimentalAPI
class Some {
@MyExperimentalAPI
fun foo() {}
}
class Bar {
fun bar() {
Some().foo<caret>()
}
}
|