Report implicit inferred Nothing only for own type parameters and in delegation resolve

^KT-47724 Fixed
This commit is contained in:
Victor Petukhov
2021-07-14 17:40:58 +03:00
parent 7bb4612149
commit ea4ab46765
9 changed files with 77 additions and 7 deletions
@@ -14228,6 +14228,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/nothingType/reifiedParameterWithRecursiveBound.kt");
}
@Test
@TestMetadata("reportImplicitNothingOnlyForOwnTypeParameters.kt")
public void testReportImplicitNothingOnlyForOwnTypeParameters() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/nothingType/reportImplicitNothingOnlyForOwnTypeParameters.kt");
}
@Test
@TestMetadata("specialCallWithMaterializeAndExpectedType.kt")
public void testSpecialCallWithMaterializeAndExpectedType() throws Exception {