test for unreproducable KT-2288
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
public open class Test(): java.util.RandomAccess, Cloneable, java.io.Serializable
|
||||
{
|
||||
public override fun clone(): Test = Test() // Override 'clone()' with more precise type 'Test'
|
||||
|
||||
public override fun toString() = "OK"
|
||||
}
|
||||
|
||||
fun box() = Test().clone().toString()
|
||||
Reference in New Issue
Block a user