JS: add more tests
This commit is contained in:
committed by
Anton Bannykh
parent
0579b52d6b
commit
cf9ad635e1
@@ -3,12 +3,16 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_COROUTINES
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
|
||||
object Result {
|
||||
var a: String = ""
|
||||
var b: Int = 0
|
||||
}
|
||||
|
||||
// Needed for JS compatibility
|
||||
interface Runnable {
|
||||
fun run(): Unit
|
||||
}
|
||||
|
||||
suspend inline fun inlineMe(c: suspend () -> Unit) {
|
||||
var a = ""
|
||||
var b = 0
|
||||
|
||||
Reference in New Issue
Block a user