KT-57491 Prefix context receivers with $context_receiver_

This commit is contained in:
Pavel Mikhailovskii
2023-03-23 16:23:09 +00:00
committed by Space Team
parent f3592088fe
commit 0e6da53af8
82 changed files with 920 additions and 919 deletions
@@ -11,13 +11,13 @@ class C {
}
fun foo(_context_receiver_0: C) {
_context_receiver_0.<get-c>() /*~> Unit */
fun foo($context_receiver_0: C) {
$context_receiver_0.<get-c>() /*~> Unit */
}
fun bar(c: C) {
with<C, Unit>(receiver = c, block = local fun C.<anonymous>() {
foo(_context_receiver_0 = $this$with)
foo($context_receiver_0 = $this$with)
}
)
}