Java nullability checker: take type arguments' types from resolution atom if possible, instead of from resolved call directly

^KT-47833 Fixed
This commit is contained in:
Victor Petukhov
2021-07-27 16:07:00 +03:00
committed by teamcityserver
parent 93f9d9dacd
commit 7567597be6
6 changed files with 67 additions and 2 deletions
@@ -86,6 +86,12 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47920.kt");
}
@Test
@TestMetadata("kt47833.kt")
public void testKt47833() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47833.kt");
}
@Test
@TestMetadata("lombokSimple.kt")
public void testLombokSimple() throws Exception {
@@ -86,6 +86,12 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47920.kt");
}
@Test
@TestMetadata("kt47833.kt")
public void testKt47833() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47833.kt");
}
@Test
@TestMetadata("lombokSimple.kt")
public void testLombokSimple() throws Exception {
@@ -86,6 +86,12 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47920.kt");
}
@Test
@TestMetadata("kt47833.kt")
public void testKt47833() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47833.kt");
}
@Test
@TestMetadata("lombokSimple.kt")
public void testLombokSimple() throws Exception {