Fix convering parents of annotations on primary constructor parameters
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user