JET-124 Sometimes local variables are not resolved in the callee position

This commit is contained in:
Andrey Breslav
2011-06-27 14:43:31 +04:00
parent 5890813fc3
commit a35e67d043
3 changed files with 11 additions and 5 deletions
@@ -0,0 +1,8 @@
fun foo1() : {(Int) : Int}
fun foo() {
val h : {(Int) : Int} = foo1();
h(1)
val m : {(Int) : Int} = {(a : Int) => 1}//foo1()
m(1)
}