[FIR] Fix lambda resolve in independent context
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// See KT-9134: smart cast is not provided inside lambda call
|
||||
fun bar(): Int = <!UNRESOLVED_REFERENCE!>{
|
||||
fun bar(): Int = {
|
||||
var i: Int?
|
||||
i = 42
|
||||
i
|
||||
}()<!>
|
||||
}()
|
||||
Reference in New Issue
Block a user