Add intentions to move property from/to primary constructor
#KT-4578 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
|
||||
@Target(AnnotationTarget.PROPERTY, AnnotationTarget.FIELD)
|
||||
annotation class PropertyAnnotation(val a: Int = 0)
|
||||
|
||||
class TestClass(text: String = "LoremIpsum") {
|
||||
private @PropertyAnnotation(42) val text = text
|
||||
}
|
||||
Reference in New Issue
Block a user