NI: decrease fixation priority for variables which have only incorporated from upper bound constraints

^KT-40045 Fixed
^KT-39633 Fixed
This commit is contained in:
Victor Petukhov
2020-07-17 13:36:11 +03:00
parent 081248f859
commit b0ac046b05
12 changed files with 156 additions and 33 deletions
@@ -11036,6 +11036,16 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
public void testTakingExtensibilityFromDeclarationOfAnonymousFunction() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/takingExtensibilityFromDeclarationOfAnonymousFunction.kt");
}
@TestMetadata("wrongVariableFixationOrder.kt")
public void testWrongVariableFixationOrder() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/wrongVariableFixationOrder.kt");
}
@TestMetadata("wrongVariableFixationOrder2.kt")
public void testWrongVariableFixationOrder2() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/wrongVariableFixationOrder2.kt");
}
}
}