IR: Fix inner class type parameters in IrTypeSystemContext
This commit is contained in:
committed by
Alexander Udalov
parent
650469024e
commit
03651f1dd4
@@ -0,0 +1,11 @@
|
||||
open class C<T> {
|
||||
inner class A<U>(val x: T?, val y: U)
|
||||
|
||||
class D : C<Nothing>() {
|
||||
fun f() = A<String>(null, "OK")
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return C.D().f().y
|
||||
}
|
||||
Reference in New Issue
Block a user