Fix exception when reporting WRONG_TYPE_PARAMETER_NULLABILITY_FOR_JAVA_OVERRIDE

^KT-51979 Fixed
This commit is contained in:
Denis.Zharkov
2022-04-15 12:23:05 +03:00
committed by teamcity
parent c599a620eb
commit 9c7fea24d1
7 changed files with 57 additions and 0 deletions
@@ -18717,6 +18717,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/j+k/types/constantStaticStringField.kt");
}
@Test
@TestMetadata("noOverrideKeyword.kt")
public void testNoOverrideKeyword() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/types/noOverrideKeyword.kt");
}
@Test
@TestMetadata("notNullTypeParameterWithKotlinNullable.kt")
public void testNotNullTypeParameterWithKotlinNullable() throws Exception {