New J2K: use Any? instead of star projection for raw supertypes
#KT-33863 fixed
This commit is contained in:
@@ -61,8 +61,8 @@ class TypeMappingConversion(context: NewJ2kConverterContext) : RecursiveApplicab
|
||||
is JKIsExpression ->
|
||||
addTypeParametersToRawProjectionType(JKStarProjectionTypeImpl)
|
||||
.updateNullability(Nullability.NotNull)
|
||||
is JKTypeCastExpression ->
|
||||
addTypeParametersToRawProjectionType(JKStarProjectionTypeImpl)
|
||||
is JKInheritanceInfo ->
|
||||
addTypeParametersToRawProjectionType(typeFactory.types.nullableAny)
|
||||
else ->
|
||||
addTypeParametersToRawProjectionType(JKStarProjectionTypeImpl)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user