Move to constructor: change default use-site target: property -> field
So #KT-23801 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
012227dd73
commit
c43311ba9a
+1
-1
@@ -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 = initialText
|
||||
private @Annotation1(42) @property:Annotation2(42) val <caret>text = initialText
|
||||
}
|
||||
Reference in New Issue
Block a user