summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/experimental/propertyInConstructorAddOptInToConstructor.kt
blob: be36ea9135630d05a9cae794ddbfd273eb382b4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// "Opt in for 'PropertyTypeMarker' on constructor" "true"
// COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn
// WITH_RUNTIME
// ACTION: Opt in for 'PropertyTypeMarker' on containing class 'PropertyTypeMarker'

@RequiresOptIn
annotation class PropertyTypeMarker

@PropertyTypeMarker
class PropertyTypeMarked

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