[FE] Check if type variable is fixed into an empty intersection type and report resolution warnings/errors if needed (completion stage)
^KT-51221 Fixed
This commit is contained in:
committed by
teamcity
parent
8e834fc7bb
commit
9e9e0211eb
+1
-1
@@ -37,7 +37,7 @@ class InferenceComponents(val session: FirSession) : FirSessionComponent {
|
||||
val constraintSystemFactory = ConstraintSystemFactory()
|
||||
|
||||
fun createConstraintSystem(): NewConstraintSystemImpl {
|
||||
return NewConstraintSystemImpl(injector, typeContext)
|
||||
return NewConstraintSystemImpl(injector, typeContext, session.languageVersionSettings)
|
||||
}
|
||||
|
||||
inner class ConstraintSystemFactory {
|
||||
|
||||
Reference in New Issue
Block a user