JS backend: testFiles -> testData
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
package foo
|
||||
|
||||
fun run<T>(f: () -> T) = f()
|
||||
|
||||
fun box(): Boolean {
|
||||
val t = run {
|
||||
object {
|
||||
fun boo(param: String): String {
|
||||
return run { param }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return t.boo("OK") == "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user