K2: add test for KT-59241

This commit is contained in:
Mikhail Glukhikh
2023-06-12 13:56:10 +02:00
committed by Space Team
parent a71437335b
commit ab1d634ad3
7 changed files with 76 additions and 0 deletions
@@ -24752,6 +24752,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
public void testSubstitutionInSuperType() throws Exception {
runTest("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter/substitutionInSuperType.kt");
}
@Test
@TestMetadata("supplier.kt")
public void testSupplier() throws Exception {
runTest("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter/supplier.kt");
}
}
@Nested
@@ -24752,6 +24752,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
public void testSubstitutionInSuperType() throws Exception {
runTest("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter/substitutionInSuperType.kt");
}
@Test
@TestMetadata("supplier.kt")
public void testSupplier() throws Exception {
runTest("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter/supplier.kt");
}
}
@Nested