Merge boxWithStdlib testData into box, delete BoxWithStdlib test
This commit is contained in:
committed by
Alexander Udalov
parent
22bfc9786a
commit
06a67e6602
@@ -0,0 +1,10 @@
|
||||
// WITH_REFLECT
|
||||
|
||||
class A(val result: String = "OK") {
|
||||
fun foo(x: Int = 42): String {
|
||||
assert(x == 42) { x }
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String = A::foo.callBy(mapOf(A::foo.parameters.first() to A()))
|
||||
Reference in New Issue
Block a user