FIR: Allow to create synthetic variables during stub creation

This commit is contained in:
Simon Ogorodnik
2021-11-22 15:59:40 +03:00
committed by teamcity
parent c3c4404bc5
commit 580410863f
@@ -249,7 +249,7 @@ class FirDelegatedPropertyInferenceSession(
override fun createSyntheticStubTypes(system: NewConstraintSystemImpl): Map<TypeConstructorMarker, ConeStubType> {
val bindings = mutableMapOf<TypeConstructorMarker, ConeStubType>()
registerSyntheticVariables(system.currentStorage())
for (variable in system.postponedTypeVariables) {
variable as ConeTypeVariable