Move to constructor: choose property use-site target more precisely

#KT-26015 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-08-30 12:17:04 +03:00
committed by Mikhail Glukhikh
parent 29390dab42
commit de6fdc5733
15 changed files with 94 additions and 20 deletions
@@ -4,5 +4,5 @@ annotation class Annotation3(val a: Int = 0)
class TestClass(@Annotation1(42) @Annotation3(42) initialText: String = "LoremIpsum") {
private @Annotation1(42) @property:Annotation2(42) val <caret>text = "dolor sit amet"
private @Annotation1(42) @field:Annotation2(42) val <caret>text = "dolor sit amet"
}