Analysis API: fix PsiType creation for type parameter type with flexible upper bound
This commit is contained in:
@@ -128,6 +128,10 @@ object AbstractTypeMapper {
|
||||
}
|
||||
}
|
||||
|
||||
type.isFlexible() -> {
|
||||
return mapType(context, type.upperBoundIfFlexible(), mode, sw)
|
||||
}
|
||||
|
||||
else -> throw UnsupportedOperationException("Unknown type $type")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user