Fix convering parents of annotations on primary constructor parameters

This commit is contained in:
Dmitry Jemerov
2017-09-26 15:49:18 +02:00
parent 56168b4a09
commit a4f5a1335a
6 changed files with 38 additions and 8 deletions
@@ -1,6 +1,18 @@
public abstract annotation MyAnnotation {
}
public abstract annotation MyAnnotation2 {
}
public abstract annotation MyAnnotation3 {
}
public abstract annotation MyAnnotation4 {
}
public abstract annotation MyAnnotation5 {
}
public final class Test1 {
private var bar: int
public final fun getBar() : int = UastEmptyExpression
@@ -12,7 +24,7 @@ public final class Test2 {
private var bar: int
@MyAnnotation
public final fun getBar() : int = UastEmptyExpression
@MyAnnotation
@MyAnnotation2
public final fun setBar(p: int) : void = UastEmptyExpression
public fun Test2(bar: int) = UastEmptyExpression
}