Fix bytecode for equals/hashCode of data classes once again
#KT-24790 Fixed
This commit is contained in:
-10
@@ -1,10 +0,0 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
interface A
|
||||
|
||||
data class B<out T : A>(val a: T)
|
||||
|
||||
fun box(): String {
|
||||
val b1 = B(object : A {})
|
||||
val b2 = B(object : A {})
|
||||
return if (b1.equals(b2)) "Fail" else "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user