Supported invoke on expressions on js backend

This commit is contained in:
Svetlana Isakova
2014-03-14 17:00:38 +04:00
parent f9ebf217a4
commit f311da3f8f
9 changed files with 147 additions and 40 deletions
@@ -0,0 +1,9 @@
package foo
class A {
fun invoke(i: Int) = i
}
fun box(): Boolean {
return A()(1) == 1
}