JS backend: fixed bug when explicitly use invoke method in function literal call.

(cherry picked from commit f832cee)
This commit is contained in:
develar
2013-08-23 14:47:25 +04:00
committed by Zalim Bashorov
parent f08cb5f6ca
commit 4f9485b40e
4 changed files with 28 additions and 5 deletions
@@ -0,0 +1,6 @@
package foo
fun box() : String {
var foo = { (x: String) -> x + "K" }
return foo.invoke("O")
}