[NI] Fix error type approximation in ILTApproximatorConfiguration

#KT-31441 Fixed
This commit is contained in:
Dmitriy Novozhilov
2019-05-17 14:44:28 +03:00
parent 6f9ef0d4b6
commit f54653eb2b
3 changed files with 17 additions and 0 deletions
@@ -96,6 +96,8 @@ open class TypeApproximatorConfiguration {
override val allFlexible: Boolean get() = true
override val intersection get() = ALLOWED
override val typeVariable: (TypeVariableTypeConstructorMarker) -> Boolean get() = { true }
override val errorType: Boolean get() = true
override fun capturedType(ctx: TypeSystemInferenceExtensionContext, type: CapturedTypeMarker): Boolean = true
}
}