Light Classes: Correctly handle annotations for property parameters

When getting annotations for KtLightParameter which is property parameter we should return annotations for parameter instead of property

#KT-19671 Fixed
This commit is contained in:
Vyacheslav Gerasimov
2017-08-14 21:28:05 +03:00
parent 1e73921200
commit c549c63100
4 changed files with 66 additions and 11 deletions
@@ -0,0 +1,5 @@
annotation class MyAnnotation
class Test1(@MyAnnotation var bar: Int)
class Test2(@get:MyAnnotation @set:MyAnnotation @setparam:MyAnnotation @property:MyAnnotation @field:MyAnnotation var bar: Int)