Add test ensuring the case of KT-57022 is fixed

This commit is contained in:
Mikhail Glukhikh
2023-03-17 17:29:42 +01:00
committed by Space Team
parent b23dbd359f
commit 25cb03b707
12 changed files with 176 additions and 0 deletions
@@ -0,0 +1,16 @@
class Test<T : Any?> : J<T> {
constructor(x: T) /* primary */ {
super/*J*/<T>()
/* <init>() */
}
val x: T
field = x
get
fun test(b: B<T>) {
b.output(x = <this>.<get-x>())
}
}