JVM IR: remove CrIrType, use class container in callable reference lowerings

This is possible now because after 3a9b94235f, 0423d0f41e and
5341de253f, all top level functions/properties in sources and in
binaries have a corresponding containing facade class
This commit is contained in:
Alexander Udalov
2019-07-05 18:28:17 +02:00
parent a048a11074
commit 1f36f60f43
5 changed files with 57 additions and 92 deletions
@@ -1,5 +1,6 @@
// IGNORE_BACKEND: JS_IR, JS, NATIVE, JVM_IR
// IGNORE_BACKEND: JS_IR, JS, NATIVE
// WITH_REFLECT
import kotlin.reflect.KCallable
import kotlin.test.assertEquals
@@ -43,4 +44,4 @@ fun box(): String {
assertEquals(Z2(Z(42)), ::Z2.call(Z(42)))
return "OK"
}
}