New J2K: use Any? instead of star projection for raw supertypes

#KT-33863 fixed
This commit is contained in:
Ilya Kirillov
2019-09-16 20:56:44 +03:00
parent c6e0356a59
commit 934d491c1c
@@ -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)
}