JS: move expressions test to box tests
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package foo
|
||||
|
||||
class A
|
||||
|
||||
fun box(): String {
|
||||
val a = A()
|
||||
val b = fun A.(i: Int) = i
|
||||
val result = a.(b)(1)
|
||||
if (result != 1) return "fail: $result"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user