[FIR2IR] Provide object receivers for callable references

This commit is contained in:
Mikhail Glukhikh
2020-03-30 12:41:54 +03:00
parent 51de319cc4
commit 282509b0da
9 changed files with 24 additions and 89 deletions
@@ -1,5 +1,4 @@
// !LANGUAGE: +JvmFieldInInterface
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
companion object {
fun ok() = "OK"
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
object Singleton {
fun ok() = "OK"
}