Fix false negative UPPER_BOUND_VIOLATED with typealiases in supertypes

^KT-50797 Fixed
^KT-50798 Open
This commit is contained in:
Denis.Zharkov
2022-01-14 19:29:39 +03:00
parent 8d0b511e95
commit b2543b7a26
16 changed files with 244 additions and 30 deletions
@@ -31245,6 +31245,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
@TestMetadata("compiler/testData/diagnostics/tests/typealias")
@TestDataPath("$PROJECT_ROOT")
public class Typealias {
@Test
@TestMetadata("abbreviatedSupertypes.kt")
public void testAbbreviatedSupertypes() throws Exception {
runTest("compiler/testData/diagnostics/tests/typealias/abbreviatedSupertypes.kt");
}
@Test
@TestMetadata("abbreviatedSupertypesErrors.kt")
public void testAbbreviatedSupertypesErrors() throws Exception {
runTest("compiler/testData/diagnostics/tests/typealias/abbreviatedSupertypesErrors.kt");
}
@Test
@TestMetadata("aliasesOnly.kt")
public void testAliasesOnly() throws Exception {