[FIR] add support for generic cases of delegation by implementation
Add type parameters for generic delegated members and type substitution when implementing instantiated super interfaces.
This commit is contained in:
committed by
Mikhail Glukhikh
parent
93632d2a18
commit
2ea3579281
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
interface A<T> {
|
||||
fun foo(t: T): String
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
interface A<T: Number> {
|
||||
fun foo(t: T): String
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
interface A<T, U> {
|
||||
fun foo(t: T, u: U): String
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user