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 ->
|
is JKIsExpression ->
|
||||||
addTypeParametersToRawProjectionType(JKStarProjectionTypeImpl)
|
addTypeParametersToRawProjectionType(JKStarProjectionTypeImpl)
|
||||||
.updateNullability(Nullability.NotNull)
|
.updateNullability(Nullability.NotNull)
|
||||||
is JKTypeCastExpression ->
|
is JKInheritanceInfo ->
|
||||||
addTypeParametersToRawProjectionType(JKStarProjectionTypeImpl)
|
addTypeParametersToRawProjectionType(typeFactory.types.nullableAny)
|
||||||
else ->
|
else ->
|
||||||
addTypeParametersToRawProjectionType(JKStarProjectionTypeImpl)
|
addTypeParametersToRawProjectionType(JKStarProjectionTypeImpl)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user