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
@@ -0,0 +1,14 @@
// FIR_IGNORE
fun test(e: Int.() -> String) {
// String
// │ Int
// │ │ fun Int.invoke(): String
// │ │ │
val s = 3.e()
// String
// │ Int
// │ │ fun Int.invoke(): String
// │ │ │test.e: Int.() -> String
// │ │ ││
val ss = 3.(e)()
}