diff --git a/compiler/resolution/src/org/jetbrains/kotlin/types/TypeApproximator.kt b/compiler/resolution/src/org/jetbrains/kotlin/types/TypeApproximator.kt index 0b12c3cf5bf..199d569d1dd 100644 --- a/compiler/resolution/src/org/jetbrains/kotlin/types/TypeApproximator.kt +++ b/compiler/resolution/src/org/jetbrains/kotlin/types/TypeApproximator.kt @@ -131,8 +131,8 @@ abstract class AbstractTypeApproximator(val ctx: TypeSystemInferenceExtensionCon private val cacheForIncorporationConfigToSuperDirection = ConcurrentHashMap() private val cacheForIncorporationConfigToSubtypeDirection = ConcurrentHashMap() - private val referenceApproximateToSuperType = this::approximateSimpleToSuperType - private val referenceApproximateToSubType = this::approximateSimpleToSubType + private val referenceApproximateToSuperType get() = this::approximateSimpleToSuperType + private val referenceApproximateToSubType get() = this::approximateSimpleToSubType companion object { const val CACHE_FOR_INCORPORATION_MAX_SIZE = 500