Standardize context receiver parameter names
Previously, FIR used `_context_receiver_n` while FE10 used `<this>` for all context receiver parameters. This commit changes the code in FE10 to follow the convention from FIR.
This commit is contained in:
committed by
Alexander Udalov
parent
5cf1a88c42
commit
21fef70367
Vendored
+2
-2
@@ -16,8 +16,8 @@ fun contextual(f: @ContextFunctionTypeParams(count = 1) Function1<C, String>): S
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return contextual(f = local fun <anonymous>(<this>: C): String {
|
||||
return <this>.<get-result>()
|
||||
return contextual(f = local fun <anonymous>(_context_receiver_0: C): String {
|
||||
return _context_receiver_0.<get-result>()
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user