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