FIR2IR: use information about callable reference adaptation from resolve

This commit is contained in:
Mikhail Glukhikh
2021-02-11 11:28:20 +03:00
parent dcad9c84fc
commit 8bab208322
23 changed files with 169 additions and 88 deletions
@@ -20,13 +20,22 @@ fun C.extensionBoth(i: Int, s: String = "", vararg t: String) {
}
fun testExtensionVararg() {
use(f = ::extensionVararg)
use(f = local fun extensionVararg(p0: C, p1: Int) {
p0.extensionVararg(i = p1)
}
)
}
fun testExtensionDefault() {
use(f = ::extensionDefault)
use(f = local fun extensionDefault(p0: C, p1: Int) {
p0.extensionDefault(i = p1)
}
)
}
fun testExtensionBoth() {
use(f = ::extensionBoth)
use(f = local fun extensionBoth(p0: C, p1: Int) {
p0.extensionBoth(i = p1)
}
)
}