Fix raw FIR building with parenthesized expression as selector
This commit is contained in:
@@ -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)()
|
||||
}
|
||||
Reference in New Issue
Block a user