[FIR] Don't turn constraint storage into FREEZED stage during resolution

This commit is contained in:
Victor Petukhov
2022-02-11 11:42:36 +03:00
committed by teamcity
parent e7bd464a3c
commit 9885094472
@@ -59,7 +59,7 @@ internal object CheckCallableReferenceExpectedType : CheckerStage() {
candidate.resultingTypeForCallableReference = resultingType
candidate.callableReferenceAdaptation = callableReferenceAdaptation
candidate.outerConstraintBuilderEffect = fun ConstraintSystemOperation.() {
addOtherSystem(candidate.system.asReadOnlyStorage())
addOtherSystem(candidate.system.currentStorage())
val position = SimpleConstraintSystemConstraintPosition //TODO