[FIR] Defer computation of enhanced return type when overridden has implicit return type
#KT-66048
This commit is contained in:
committed by
Space Team
parent
888cac6fc0
commit
885ba11d97
+1
-1
@@ -241,7 +241,7 @@ open class ReturnTypeCalculatorWithJump(
|
||||
}
|
||||
}
|
||||
|
||||
if (declaration.isCopyCreatedInScope) {
|
||||
if (declaration.canHaveDeferredReturnTypeCalculation) {
|
||||
val resolvedTypeRef = callableCopyTypeCalculator.computeReturnType(declaration)
|
||||
requireWithAttachment(
|
||||
resolvedTypeRef is FirResolvedTypeRef,
|
||||
|
||||
Reference in New Issue
Block a user