Reflect: Handle methods with inline class default parameters

This commit is contained in:
Steven Schäfer
2020-04-23 15:37:48 +02:00
committed by Alexander Udalov
parent 86d6470ced
commit 905a8ca0d0
10 changed files with 75 additions and 20 deletions
@@ -0,0 +1,10 @@
// IGNORE_BACKEND: JS_IR, JS, NATIVE
// WITH_REFLECT
inline class A(val x: Int)
fun test(x: A = A(0)) = "OK"
fun box(): String {
return (::test).callBy(mapOf())
}