Add one more test for KT-61959
Generate FE tests
This commit is contained in:
committed by
Space Team
parent
a3f5db566c
commit
83c90d0e4f
+18
@@ -0,0 +1,18 @@
|
||||
// FIR_IDENTICAL
|
||||
|
||||
package test
|
||||
|
||||
interface OuterParam
|
||||
|
||||
class A: OuterParam
|
||||
|
||||
class Outer<OuterParam> {
|
||||
|
||||
class Nested: OuterParam {
|
||||
fun foo(): OuterParam = A()
|
||||
}
|
||||
}
|
||||
|
||||
fun main() {
|
||||
val c: OuterParam = Outer.Nested().foo()
|
||||
}
|
||||
Reference in New Issue
Block a user