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
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
inline fun bar(x: Int, y: Long, z: Byte, s: String) = x.toString() + y.toString() + z.toString() + s
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
fun bar() : Boolean = true
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
inline fun bar(x: Int) : Int {
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
inline fun bar(block: () -> String) : String {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
inline fun bar(x: String, block: (String) -> String) = "def" + block(x)
|
||||
|
||||
Reference in New Issue
Block a user