JS: move expressions test to box tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package foo
|
||||
|
||||
fun lold() = true
|
||||
|
||||
val p = { { lold() }() }
|
||||
|
||||
fun box(): String {
|
||||
if (!p()) return "fail1"
|
||||
if (!foo.p()) return "fail2"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user