FIR2IR: change receiver handling in case it's an outer object

Before this commit, FIR2IR expected that FIR will have no receiver
in this case. However, now FIR *has* receiver, so we have to convert
it to object correctly
This commit is contained in:
Mikhail Glukhikh
2020-01-22 16:37:05 +03:00
parent 14204a842a
commit ef8485a232
4 changed files with 27 additions and 15 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
protected fun foo() = "OK"
}