[ULC] Fix invalid primitive type annotating
Fixed #KT-45417
This commit is contained in:
@@ -54,9 +54,19 @@ public final class Y /* Y*/ {
|
||||
}
|
||||
|
||||
public final class klass /* klass*/ {
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private final java.util.List<@A0() java.lang.Integer> y;
|
||||
|
||||
private final @A0() int x;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final @A6() X annotatedMethod(@org.jetbrains.annotations.NotNull() @A0() P<@A1() X, P<@A2() @A3() X, @A4() Y>>, @org.jetbrains.annotations.NotNull() @A5() Y[]);// annotatedMethod(@A0() P<@A1() X, P<@A2() @A3() X, @A4() Y>>, @A5() Y[])
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.util.List<@A0() java.lang.Integer> getY();// getY()
|
||||
|
||||
public klass();// .ctor()
|
||||
|
||||
public final @A0() int getX();// getX()
|
||||
|
||||
}
|
||||
@@ -23,4 +23,7 @@ class klass {
|
||||
fun annotatedMethod(x: @A0 P<@A1 X, P<@A2 @A3 X, @A4 Y>>, y: Array<@A5 Y>): @A6 X {
|
||||
return ""
|
||||
}
|
||||
|
||||
val x: @A0 Int = 2
|
||||
val y: List<@A0 Int>? = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user