KT-57491 Prefix context receivers with $context_receiver_
This commit is contained in:
committed by
Space Team
parent
f3592088fe
commit
0e6da53af8
@@ -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)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user