[IR] Fix IrCapturedType equals/hashCode

It could lead to SOE if CT has itself as superType
- fix KT-47424
This commit is contained in:
Roman Artemev
2021-06-28 17:14:22 +03:00
committed by TeamCityServer
parent 7ccefebf1c
commit 6993b86d3b
7 changed files with 207 additions and 7 deletions
@@ -29,6 +29,12 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
@TestMetadata("compiler/testData/ir/irText/classes")
@TestDataPath("$PROJECT_ROOT")
public class Classes {
@Test
@TestMetadata("47424.kt")
public void test47424() throws Exception {
runTest("compiler/testData/ir/irText/classes/47424.kt");
}
@Test
@TestMetadata("abstractMembers.kt")
public void testAbstractMembers() throws Exception {