Process raw types during erasion properly

^KT-46670 Fixed
^KT-46476 Fixed
This commit is contained in:
Victor Petukhov
2021-05-14 18:57:59 +03:00
parent 570d860217
commit 0d6764efc5
14 changed files with 174 additions and 7 deletions
@@ -0,0 +1,14 @@
// FIR_IDENTICAL
// FILE: Test.java
class BaseOperation<T extends Bar, L extends Foo<T>> {}
class Foo<E extends Bar> { }
class Bar {}
public class Test extends BaseOperation {}
// FILE: main.kt
fun main() {
val x = Test()
}
@@ -0,0 +1,10 @@
package
public fun main(): kotlin.Unit
public open class Test : BaseOperation<(raw) Bar!, (raw) Foo<Bar!>!> {
public constructor Test()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}