Add check already fixed variables in PostponedArgumentInputTypesResolver during adding constraints on them and using inside a functional type

^KT-42374 Fixed
This commit is contained in:
Victor Petukhov
2020-10-01 19:20:57 +03:00
parent 96ccf03794
commit 6c1dc43d25
8 changed files with 39 additions and 1 deletions
@@ -11085,6 +11085,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/callableReferences.kt");
}
@TestMetadata("fixingVariableDuringAddingConstraintForFirstPosponedArgument.kt")
public void testFixingVariableDuringAddingConstraintForFirstPosponedArgument() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/fixingVariableDuringAddingConstraintForFirstPosponedArgument.kt");
}
@TestMetadata("lackOfDeepIncorporation.kt")
public void testLackOfDeepIncorporation() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/lackOfDeepIncorporation.kt");