[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
+23
View File
@@ -0,0 +1,23 @@
// FIR_IDENTICAL
package com.example
interface Aa
interface Ab<T : Ab<T>> : Aa
interface Ba
interface Bb<T : Bb<T>> : Ab<T>, Ba
interface Ca {
val b: Ba
}
interface Cb {
val b: Bb<*>
}
interface C : Cb, Ca