summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/experimental/getterUseSiteImplicitRemove.kt.after
blob: 43d50c749d93fcbc5dfa7fdf37357b4f1e8dcc8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// "Remove annotation" "true"
// COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn
// WITH_RUNTIME

@RequiresOptIn
@Target(AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER)
annotation class SomeOptInAnnotation

class Foo(val value: Int) {
    val bar: Boolean
        get() = value > 0
}