KT-57491 Prefix context receivers with $context_receiver_
This commit is contained in:
committed by
Space Team
parent
f3592088fe
commit
0e6da53af8
+8
-8
@@ -37,17 +37,17 @@ class C {
|
||||
|
||||
}
|
||||
|
||||
fun f(_context_receiver_0: A<Int>, _context_receiver_1: A<String>, _context_receiver_2: B) {
|
||||
_context_receiver_0.<get-a>().toFloat() /*~> Unit */
|
||||
_context_receiver_1.<get-a>().<get-length>() /*~> Unit */
|
||||
_context_receiver_2.<get-b>() /*~> Unit */
|
||||
fun f($context_receiver_0: A<Int>, $context_receiver_1: A<String>, $context_receiver_2: B) {
|
||||
$context_receiver_0.<get-a>().toFloat() /*~> Unit */
|
||||
$context_receiver_1.<get-a>().<get-length>() /*~> Unit */
|
||||
$context_receiver_2.<get-b>() /*~> Unit */
|
||||
}
|
||||
|
||||
val C.p: Int
|
||||
get(_context_receiver_0: A<Int>, _context_receiver_1: A<String>, _context_receiver_2: B): Int {
|
||||
_context_receiver_0.<get-a>().toFloat() /*~> Unit */
|
||||
_context_receiver_1.<get-a>().<get-length>() /*~> Unit */
|
||||
_context_receiver_2.<get-b>() /*~> Unit */
|
||||
get($context_receiver_0: A<Int>, $context_receiver_1: A<String>, $context_receiver_2: B): Int {
|
||||
$context_receiver_0.<get-a>().toFloat() /*~> Unit */
|
||||
$context_receiver_1.<get-a>().<get-length>() /*~> Unit */
|
||||
$context_receiver_2.<get-b>() /*~> Unit */
|
||||
<this>.<get-c>() /*~> Unit */
|
||||
<this>.<get-c>() /*~> Unit */
|
||||
<this>.<get-c>() /*~> Unit */
|
||||
|
||||
Reference in New Issue
Block a user