[K/N, K/JS, K/WASM] Enable FakeOverrideRebuilder by default

While not beeing final solution, this is closer to what
we want to have in the end. Enabling on non-JVM targets
would help better testing.

Enabling in JVM is now not possible yet, as some of the bugs are
not fixed yet (check KT-61360 for details)

^KT-62476
This commit is contained in:
Pavel Kunyavskiy
2023-12-12 13:42:36 +01:00
committed by Space Team
parent c6e32571d6
commit f45d92eebc
29 changed files with 304 additions and 637 deletions
@@ -0,0 +1,33 @@
open class Base {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
override operator fun equals(other: Any?): Boolean {
return EQEQEQ(arg0 = <this>, arg1 = other)
}
}
interface I {
}
class Child1 : Base, I {
constructor() /* primary */ {
super/*Base*/()
/* <init>() */
}
}
class Child2 : I, Base {
constructor() /* primary */ {
super/*Base*/()
/* <init>() */
}
}