Unused symbol suppression: get annotation descriptors via entries

Otherwise we miss use-site targeted annotations,
and getUseSiteTargetedAnnotations does not help
So #KT-20332 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-04-27 18:51:46 +03:00
parent 59c019cb00
commit e933bb8220
3 changed files with 18 additions and 7 deletions
@@ -3,4 +3,10 @@ val entryPoint = ""
class Owner(@test.anno.EntryPoint val xx: Int) {
@test.anno.EntryPoint val yy = 42
}
@test.anno.EntryPoint
class WithGetter {
@get:test.anno.EntryPoint
val zz = 13
}