Move to constructor: change default use-site target: property -> field

So #KT-23801 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-04-17 06:52:58 +03:00
committed by Mikhail Glukhikh
parent 012227dd73
commit c43311ba9a
6 changed files with 7 additions and 6 deletions
@@ -4,5 +4,5 @@ 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"
private @Annotation1(42) @property:Annotation2(42) val <caret>text = "dolor sit amet"
}