KT-57491 Prefix context receivers with $context_receiver_
This commit is contained in:
committed by
Space Team
parent
f3592088fe
commit
0e6da53af8
+2
-2
@@ -7,7 +7,7 @@ class Context {
|
||||
|
||||
}
|
||||
|
||||
fun f(_context_receiver_0: Context): String {
|
||||
fun f($context_receiver_0: Context): String {
|
||||
return TODO()
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ fun f(): Any {
|
||||
|
||||
fun test() {
|
||||
with<Context, Int>(receiver = Context(), block = local fun Context.<anonymous>(): Int {
|
||||
return f(_context_receiver_0 = $this$with).<get-length>()
|
||||
return f($context_receiver_0 = $this$with).<get-length>()
|
||||
}
|
||||
) /*~> Unit */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user