Generate EXPECTED_REACHABLE_NODES directive on JS box tests

This commit is contained in:
Alexey Andreev
2017-04-25 19:05:55 +03:00
parent ab9b639652
commit e2c2fcf1ff
1153 changed files with 1154 additions and 4 deletions
@@ -1,3 +1,4 @@
// EXPECTED_REACHABLE_NODES: 488
// FILE: a.kt
inline fun baz(): String =
@@ -1,3 +1,4 @@
// EXPECTED_REACHABLE_NODES: 552
// FILE: a.kt
// WITH_RUNTIME
import kotlin.coroutines.experimental.*
@@ -1,3 +1,4 @@
// EXPECTED_REACHABLE_NODES: 487
// FILE: a.kt
inline fun foo(f: (Int) -> String, x: Int = 23): String = "foo(${f(x)})"
@@ -1,3 +1,4 @@
// EXPECTED_REACHABLE_NODES: 489
// FILE: a.kt
package foo.bar
+1
View File
@@ -1,3 +1,4 @@
// EXPECTED_REACHABLE_NODES: 487
// FILE: a.kt
private inline fun bar(f: () -> String): String = "bar(${f()})"
@@ -1,3 +1,4 @@
// EXPECTED_REACHABLE_NODES: 488
// PROPERTY_WRITE_COUNT: name=foo_61zpoe$ count=1
// FILE: a.kt
fun foo(x: String): String = x
+1
View File
@@ -1,3 +1,4 @@
// EXPECTED_REACHABLE_NODES: 490
// FILE: a.kt
private fun bar(): String = "O"
@@ -1,3 +1,4 @@
// EXPECTED_REACHABLE_NODES: 489
/// FILE: a.kt
fun a() = "["