[NI] Do not incorporate constraints that are needed only for nullability

This commit is contained in:
Mikhail Zarechenskiy
2020-01-28 12:13:28 +03:00
parent ce690d8a1d
commit 35f6810b58
7 changed files with 49 additions and 1 deletions
@@ -10841,6 +10841,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/inference/nothingType/discriminatedNothingAndSmartCast.kt");
}
@TestMetadata("discriminatedNothingInsideComplexNestedCall.kt")
public void testDiscriminatedNothingInsideComplexNestedCall() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/nothingType/discriminatedNothingInsideComplexNestedCall.kt");
}
@TestMetadata("generateConstraintWithInnerNothingType.kt")
public void testGenerateConstraintWithInnerNothingType() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/nothingType/generateConstraintWithInnerNothingType.kt");