[FIR] Resolve return expressions in independent context

This commit is contained in:
Dmitriy Novozhilov
2020-03-02 17:40:15 +03:00
parent d4f57fb835
commit ec01893237
8 changed files with 69 additions and 19 deletions
@@ -36,7 +36,7 @@ fun main(x: Inv<Int>) {
}
foo1 {
if (x.hashCode() == 0) return@foo1 <!UNRESOLVED_REFERENCE!>::bar<!>
if (x.hashCode() == 0) return@foo1 ::bar
::bar
}