Fix bytecode for equals/hashCode of data classes once again

#KT-24790 Fixed
This commit is contained in:
Alexander Udalov
2018-06-12 14:00:23 +02:00
parent 8749bd901b
commit 813d7fcb6a
9 changed files with 58 additions and 50 deletions
@@ -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"
}