Reflect: Handle methods with inline class default parameters
This commit is contained in:
committed by
Alexander Udalov
parent
86d6470ced
commit
905a8ca0d0
+10
@@ -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())
|
||||
}
|
||||
Reference in New Issue
Block a user