K2: implement BUILDER_INFERENCE_STUB_RECEIVER

#KT-59369 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-11-28 23:30:11 +01:00
committed by Space Team
parent 5e5e5b8b9f
commit 0ed6256bcc
21 changed files with 162 additions and 70 deletions
@@ -10,7 +10,7 @@ fun main(arg: Any) {
val value = myBuilder {
doSmthng("one ")
run { a; this }.a = 10
a += 1
<!BUILDER_INFERENCE_STUB_RECEIVER!>a += 1<!>
this.a = 57
this.<!ILLEGAL_SELECTOR, VARIABLE_EXPECTED!>(a)<!> = 57
a = x