Change Signature: Do not force substitution of error types
#EA-81021 Fixed
This commit is contained in:
@@ -88,6 +88,7 @@ fun DeclarationDescriptor.createDeepCopy() = (this as? JavaMethodDescriptor)?.su
|
||||
private object ForceTypeCopySubstitution : TypeSubstitution() {
|
||||
override fun get(key: KotlinType) =
|
||||
with(key) {
|
||||
if (isError) return@with asTypeProjection()
|
||||
KotlinTypeImpl.create(
|
||||
annotations, constructor, isMarkedNullable, arguments, memberScope, capabilities).asTypeProjection()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user