Supported invoke on expressions on js backend
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package foo
|
||||
|
||||
class A {
|
||||
fun invoke(i: Int) = i
|
||||
}
|
||||
|
||||
fun box(): Boolean {
|
||||
return A()(1) == 1
|
||||
}
|
||||
Reference in New Issue
Block a user