[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
@@ -38,6 +38,11 @@ public class KlibTextTestCaseGenerated extends AbstractKlibTextTestCase {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JS_IR, testDataFilePath);
}
@TestMetadata("47424.kt")
public void test47424() throws Exception {
runTest("compiler/testData/ir/irText/classes/47424.kt");
}
@TestMetadata("abstractMembers.kt")
public void testAbstractMembers() throws Exception {
runTest("compiler/testData/ir/irText/classes/abstractMembers.kt");