K1: Adjust positioning for NO_CONTEXT_RECEIVER

This commit is contained in:
Denis.Zharkov
2022-04-06 09:59:47 +03:00
committed by teamcity
parent 82b6fdf97e
commit 3d06a92eea
12 changed files with 26 additions and 114 deletions
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// !LANGUAGE: +ContextReceivers
class A
@@ -10,11 +11,11 @@ fun B.f() {}
fun main() {
val b = B()
b.<!NO_CONTEXT_RECEIVER!>f()<!>
b.<!NO_CONTEXT_RECEIVER!>f<!>()
with(A()) {
b.f()
}
with(C()) {
b.<!NO_CONTEXT_RECEIVER!>f()<!>
b.<!NO_CONTEXT_RECEIVER!>f<!>()
}
}
}