[compiler] preserve fir receiver in tree

when selector is invalid expression,
ensure that fir tree still contains receiver as well as selector

KTIJ-23578
This commit is contained in:
Anna Kozlova
2022-11-21 15:34:41 +01:00
committed by Space Team
parent 1aae9d6456
commit 3fdd0aacd3
17 changed files with 243 additions and 2 deletions
@@ -0,0 +1,6 @@
fun main(args: Array<String>) {
val anyClass = Any()
funOne(<expr>anyClass</expr>.class)
}
fun funOne(x: Any): Unit {}