Add intentions to move property from/to primary constructor

#KT-4578 Fixed
This commit is contained in:
Vyacheslav Gerasimov
2017-03-18 23:15:46 +03:00
parent fef4c8ccd8
commit f60a7ffab0
32 changed files with 465 additions and 0 deletions
@@ -0,0 +1,8 @@
annotation class Annotation1(val a: Int = 0)
annotation class Annotation2(val a: Int = 0)
annotation class Annotation3(val a: Int = 0)
class TestClass(@Annotation1(42) @Annotation3(42) initialText: String = "LoremIpsum") {
private @Annotation1(42) @field:Annotation2(42) val <caret>text = "dolor sit amet"
}