JS: create new common directory for all generated tests, migrate several tests there
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package foo
|
||||
|
||||
object A {
|
||||
val x = 23
|
||||
val y = { x }
|
||||
fun foo() = { x }
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
assertEquals(23, A.foo()())
|
||||
assertEquals(23, A.y())
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user