JS: add more tests

This commit is contained in:
Anton Bannykh
2018-07-08 22:46:01 +03:00
committed by Anton Bannykh
parent 0579b52d6b
commit cf9ad635e1
14 changed files with 585 additions and 55 deletions
@@ -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