Add WITH_RUNTIME or WITH_REFLECT to boxWithStdlib testData
This commit is contained in:
committed by
Alexander Udalov
parent
2564a2f91f
commit
22bfc9786a
+2
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
class A(value: Int = 1)
|
||||
|
||||
fun box(): String {
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
class A(val a: Int = 1,
|
||||
val b: Int = 2,
|
||||
val c: Int = 3,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun box(): String {
|
||||
return if (A().run() == "Aabc") "OK" else "fail"
|
||||
}
|
||||
@@ -11,4 +13,4 @@ public class A {
|
||||
private fun String.show(p: Boolean = false): String = getName() + this
|
||||
|
||||
private fun getName() = "A"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun def(i: Int = 0): Int {
|
||||
return i;
|
||||
|
||||
Reference in New Issue
Block a user