Add WITH_RUNTIME or WITH_REFLECT to boxWithStdlib testData
This commit is contained in:
committed by
Alexander Udalov
parent
2564a2f91f
commit
22bfc9786a
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
import java.util.concurrent.locks.ReentrantReadWriteLock
|
||||
import kotlin.concurrent.write
|
||||
|
||||
@@ -19,4 +21,4 @@ class UpdateableThing {
|
||||
|
||||
fun box(): String {
|
||||
return UpdateableThing().performUpdates { "OK" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo() {
|
||||
with(1) {
|
||||
return (1..2).forEach { it }
|
||||
@@ -7,4 +9,4 @@ fun foo() {
|
||||
fun box(): String {
|
||||
foo()
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user