[FIR] Don't force calculation of return type of overrides during status resolution
This commit is contained in:
committed by
teamcity
parent
effa3f197a
commit
ae0ce57b2c
+1
-1
@@ -215,7 +215,7 @@ private class ReturnTypeCalculatorWithJump(
|
||||
|
||||
var outerTowerDataContexts: FirRegularTowerDataContexts? = null
|
||||
|
||||
override fun tryCalculateReturnType(declaration: FirTypedDeclaration): FirResolvedTypeRef {
|
||||
override fun tryCalculateReturnTypeOrNull(declaration: FirTypedDeclaration): FirResolvedTypeRef {
|
||||
if (declaration is FirValueParameter && declaration.returnTypeRef is FirImplicitTypeRef) {
|
||||
// TODO?
|
||||
declaration.transformReturnTypeRef(
|
||||
|
||||
Reference in New Issue
Block a user