Resolution: extract projections from captured flexible type properly
#KT-54100 Fixed Related to KT-54196, KT-54198
This commit is contained in:
committed by
teamcity
parent
8517249776
commit
e9bb0f4fda
+2
-1
@@ -117,7 +117,8 @@ interface NewTypeSubstitutor : TypeSubstitutorMarker {
|
||||
TypeProjectionImpl(typeConstructor.projection.projectionKind, substitutedInnerType),
|
||||
typeParameter = typeConstructor.typeParameter
|
||||
).also { it.initializeSupertypes(substitutedSuperTypes) },
|
||||
lowerType = if (capturedType.lowerType != null) substitutedInnerType else null
|
||||
lowerType = if (capturedType.lowerType != null) substitutedInnerType else null,
|
||||
isMarkedNullable = type.isMarkedNullable
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user