FIR: replace ConeKotlinType with more concrete type when possible

This commit is contained in:
Mikhail Glukhikh
2021-12-14 14:36:19 +03:00
committed by TeamCityServer
parent 27d4c745cb
commit 11bbd79c4b
8 changed files with 12 additions and 26 deletions
@@ -34,7 +34,7 @@ class FirDelegatedPropertyInferenceSession(
private val currentConstraintSystem = components.session.inferenceComponents.createConstraintSystem()
override val currentConstraintStorage: ConstraintStorage get() = currentConstraintSystem.currentStorage()
private val unitType: ConeKotlinType = components.session.builtinTypes.unitType.type
private val unitType: ConeClassLikeType = components.session.builtinTypes.unitType.type
private lateinit var resultingConstraintSystem: NewConstraintSystem
private fun ConeKotlinType.containsStubType(): Boolean {