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
@@ -1,4 +1,4 @@
annotation class SuperAnnotation
class TestClass(@field:SuperAnnotation val text: String) {
class TestClass(@property:SuperAnnotation val text: String) {
}