JET-124 Sometimes local variables are not resolved in the callee position
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user