Files
kotlin-fork/idea/testData/quickfix/experimental/propertyInConstructor.kt
T
Mikhail Glukhikh 564ea629d1 Add annotations to primary constructor together with 'constructor'
This fixes incorrect behaviour if primary constructor has no explicit
'constructor' keywork
#KT-25548 Fixed
2018-08-24 18:00:54 +03:00

12 lines
411 B
Kotlin
Vendored

// "Add '@PropertyTypeMarker' annotation to 'PropertyTypeContainer'" "true"
// COMPILER_ARGUMENTS: -Xuse-experimental=kotlin.Experimental
// WITH_RUNTIME
// ACTION: Add '@PropertyTypeMarker' annotation to containing class 'PropertyTypeContainer'
@Experimental
annotation class PropertyTypeMarker
@PropertyTypeMarker
class PropertyTypeMarked
class PropertyTypeContainer(val subject: Property<caret>TypeMarked)