Remove constraints containing stub types after completion of the common system of a builder inference call
^KT-49285 Fixed
This commit is contained in:
+2
@@ -211,6 +211,8 @@ class PostponedArgumentsAnalyzer(
|
||||
// We add <inferred type> <: TypeVariable(T) to be able to contribute type info from several builder inference lambdas
|
||||
c.getBuilder().addSubtypeConstraint(resultType, variable.defaultType(c), BuilderInferencePosition)
|
||||
}
|
||||
|
||||
c.removePostponedTypeVariablesFromConstraints(postponedVariables.keys)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user