Analysis API: fix PsiType creation for type parameter type with flexible upper bound
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
// FILE: kotlin.kt
|
||||
|
||||
fun bar() {
|
||||
val xx = JavaClass::<expr>foo</expr>
|
||||
}
|
||||
|
||||
// FILE: JavaClass.java
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class JavaClass {
|
||||
@NotNull
|
||||
public static <T extends B> T foo(@NotNull T x) {
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: B.java
|
||||
public class B {
|
||||
|
||||
}
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
KtType: T!!
|
||||
PsiType: PsiType:T
|
||||
Reference in New Issue
Block a user