summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/experimental/propertyInConstructor.kt
blob: 2486d8fb2d18eaf846b4f31bba6763c5997fc9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// "Propagate 'PropertyTypeMarker' opt-in requirement to constructor" "true"
// COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn
// WITH_RUNTIME
// ACTION: Propagate 'PropertyTypeMarker' opt-in requirement to containing class 'PropertyTypeContainer'

@RequiresOptIn
annotation class PropertyTypeMarker

@PropertyTypeMarker
class PropertyTypeMarked

class PropertyTypeContainer(val subject: Property<caret>TypeMarked)