[NI] Get rid of FE 1.0 types in AbstractTypeCheckerContextForConstraintSystem
This commit is contained in:
@@ -316,6 +316,14 @@ interface ConeInferenceContext : TypeSystemInferenceExtensionContext, ConeTypeCo
|
||||
return this.defaultType
|
||||
}
|
||||
|
||||
override fun TypeConstructorMarker.isTypeVariable(): Boolean {
|
||||
return this is ConeTypeVariableTypeConstructor
|
||||
}
|
||||
|
||||
override fun TypeVariableTypeConstructorMarker.isContainedInInvariantOrContravariantPositions(): Boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
override fun captureFromExpression(type: KotlinTypeMarker): KotlinTypeMarker? {
|
||||
return type
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user