Fix raw FIR building with parenthesized expression as selector

This commit is contained in:
Mikhail Glukhikh
2019-12-24 13:30:04 +03:00
parent a18fecb05f
commit a8a50fa657
21 changed files with 115 additions and 34 deletions
@@ -9,10 +9,10 @@ val B.a: () -> Int get() = { 5 }
fun test(a: A, b: B) {
val x: Int = b.a()
b.<!UNRESOLVED_REFERENCE!>(a)()<!>
b.(a)()
with(b) {
val y: Int = <!UNRESOLVED_REFERENCE!>a<!>()
<!UNRESOLVED_REFERENCE!>(a)()<!>
(<!UNRESOLVED_REFERENCE!>a<!>)()
}
}