[AA FIR] FirCallableSignature: avoid redundant resolve for return type

^KT-54826
This commit is contained in:
Dmitrii Gridin
2022-11-24 17:43:49 +01:00
committed by Space Team
parent 3bc9299b3b
commit c5fb8e7ceb
@@ -48,9 +48,7 @@ internal class FirCallableSignature private constructor(
}
}
declaration.lazyResolveToPhase(FirResolvePhase.IMPLICIT_TYPES_BODY_RESOLVE)
return returnType == declaration.returnTypeRef.renderType()
return returnType == declaration.symbol.resolvedReturnTypeRef.renderType()
}
override fun equals(other: Any?): Boolean {