[FIR] Fix lambda resolve in independent context

This commit is contained in:
Mikhail Glukhikh
2020-02-04 10:14:34 +03:00
parent 4f8d0382f7
commit 64c7ab1302
19 changed files with 75 additions and 62 deletions
@@ -9,22 +9,22 @@ fun example() {
val e = if (true) {} else false
val f = if (true) true else {}
<!UNRESOLVED_REFERENCE!>{
{
if (true) true
}()<!>;
}();
<!UNRESOLVED_REFERENCE!>{
{
if (true) true else false
}()<!>;
}();
<!UNRESOLVED_REFERENCE!>{
{
if (true) {} else false
}()<!>;
}();
<!UNRESOLVED_REFERENCE!>{
{
if (true) true else {}
}()<!>
}()
fun t(): Boolean {
return if (true) true