Add test ensuring the case of KT-57022 is fixed
This commit is contained in:
committed by
Space Team
parent
b23dbd359f
commit
25cb03b707
+16
@@ -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>())
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user