FIR DFA: don't update receivers' types if flow is unchanged

This commit is contained in:
pyos
2022-11-11 22:23:32 +01:00
committed by teamcity
parent 49f8de50c3
commit 564eca58dd
6 changed files with 96 additions and 76 deletions
@@ -55,7 +55,7 @@ internal open class StubBodyResolveTransformerComponents(
override val receiverStack: Iterable<ImplicitReceiverValue<*>>
get() = error("Should not be called")
override fun receiverUpdated(symbol: FirBasedSymbol<*>, types: Set<ConeKotlinType>?) =
override fun receiverUpdated(symbol: FirBasedSymbol<*>, info: TypeStatement?) =
error("Should not be called")
override fun getTypeUsingSmartcastInfo(expression: FirExpression): Pair<PropertyStability, MutableList<ConeKotlinType>>? =