Make freshly substituted type variables def not nullable if they come from not null type parameter
^KT-48778 Fixed
This commit is contained in:
+6
@@ -925,6 +925,12 @@ public class FirOldFrontendForeignAnnotationsCompiledJavaTestGenerated extends A
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/kt48261.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48778.kt")
|
||||
public void testKt48778() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/kt48778.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodWithTypeParameter.kt")
|
||||
public void testMethodWithTypeParameter() throws Exception {
|
||||
|
||||
+6
@@ -925,6 +925,12 @@ public class FirOldFrontendForeignAnnotationsCompiledJavaWithPsiClassReadingTest
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/kt48261.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48778.kt")
|
||||
public void testKt48778() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/kt48778.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodWithTypeParameter.kt")
|
||||
public void testMethodWithTypeParameter() throws Exception {
|
||||
|
||||
+6
@@ -925,6 +925,12 @@ public class FirOldFrontendForeignAnnotationsSourceJavaTestGenerated extends Abs
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/kt48261.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48778.kt")
|
||||
public void testKt48778() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/kt48778.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodWithTypeParameter.kt")
|
||||
public void testMethodWithTypeParameter() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user