FIR2IR: drop hacky computeFieldSymbolForCallableReference

This commit is contained in:
Mikhail Glukhikh
2022-11-29 08:42:55 +01:00
committed by teamcity
parent c7224c643f
commit a60eab7b47
3 changed files with 6 additions and 33 deletions
@@ -24,7 +24,9 @@ class A(val s: String)
class Derived : Base() {
override fun foo() {
// ir: resolved to fake-override field Derived.a
// ir: resolved to fake-override field Derived.a in K1,
// but to base field Base.a in K2
// However, box() works correctly in both cases
(Derived::a).javaField!![this] = A("OK")
}