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
@@ -45,7 +45,7 @@ fun test() {
x4 checkType { <!UNRESOLVED_REFERENCE!>_<!><Function1<Int, Unit>>() }
{ y: Int -> fun named14(): Int {return 1} }
val b = <!UNRESOLVED_REFERENCE!><!INFERENCE_ERROR!>(fun named15(): Boolean { return true })<!>()<!>
val b = <!UNRESOLVED_REFERENCE!>(<!INFERENCE_ERROR!>fun named15(): Boolean { return true }<!>)()<!>
baz(<!INFERENCE_ERROR!>fun named16(){}<!>)
}