[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:
+2
-2
@@ -3,6 +3,6 @@
|
||||
fun test() {
|
||||
"a".<!ILLEGAL_SELECTOR!>"b"<!>::<!UNRESOLVED_REFERENCE!>foo<!>
|
||||
"a".<!ILLEGAL_SELECTOR!>"b"<!>::class
|
||||
"a"."b".<!ILLEGAL_SELECTOR!>"c"<!>::<!UNRESOLVED_REFERENCE!>foo<!>
|
||||
"a"."b".<!ILLEGAL_SELECTOR!>"c"<!>::class
|
||||
"a".<!ILLEGAL_SELECTOR!>"b"<!>.<!ILLEGAL_SELECTOR!>"c"<!>::<!UNRESOLVED_REFERENCE!>foo<!>
|
||||
"a".<!ILLEGAL_SELECTOR!>"b"<!>.<!ILLEGAL_SELECTOR!>"c"<!>::class
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user