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
@@ -37,13 +37,13 @@ FILE fqName:<root> fileName:/plusMatrix.kt
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:plus visibility:public modality:FINAL <> ($receiver:<root>.Matrix, _context_receiver_0:<root>.NumberOperations, other:<root>.Matrix) returnType:<root>.Matrix
FUN name:plus visibility:public modality:FINAL <> ($receiver:<root>.Matrix, $context_receiver_0:<root>.NumberOperations, other:<root>.Matrix) returnType:<root>.Matrix
contextReceiverParametersCount: 1
$receiver: VALUE_PARAMETER name:<this> type:<root>.Matrix
VALUE_PARAMETER name:_context_receiver_0 index:0 type:<root>.NumberOperations
VALUE_PARAMETER name:$context_receiver_0 index:0 type:<root>.NumberOperations
VALUE_PARAMETER name:other index:1 type:<root>.Matrix
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun plus (_context_receiver_0: <root>.NumberOperations, other: <root>.Matrix): <root>.Matrix declared in <root>'
RETURN type=kotlin.Nothing from='public final fun plus ($context_receiver_0: <root>.NumberOperations, other: <root>.Matrix): <root>.Matrix declared in <root>'
CALL 'public final fun TODO (): kotlin.Nothing [inline] declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
FUN name:plusMatrix visibility:public modality:FINAL <> ($receiver:<root>.NumberOperations, m1:<root>.Matrix, m2:<root>.Matrix) returnType:kotlin.Unit
$receiver: VALUE_PARAMETER name:<this> type:<root>.NumberOperations
@@ -51,12 +51,12 @@ FILE fqName:<root> fileName:/plusMatrix.kt
VALUE_PARAMETER name:m2 index:1 type:<root>.Matrix
BLOCK_BODY
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
CALL 'public final fun plus (_context_receiver_0: <root>.NumberOperations, other: <root>.Matrix): <root>.Matrix declared in <root>' type=<root>.Matrix origin=null
CALL 'public final fun plus ($context_receiver_0: <root>.NumberOperations, other: <root>.Matrix): <root>.Matrix declared in <root>' type=<root>.Matrix origin=null
$receiver: GET_VAR 'm1: <root>.Matrix declared in <root>.plusMatrix' type=<root>.Matrix origin=null
_context_receiver_0: GET_VAR '<this>: <root>.NumberOperations declared in <root>.plusMatrix' type=<root>.NumberOperations origin=null
$context_receiver_0: GET_VAR '<this>: <root>.NumberOperations declared in <root>.plusMatrix' type=<root>.NumberOperations origin=null
other: GET_VAR 'm2: <root>.Matrix declared in <root>.plusMatrix' type=<root>.Matrix origin=null
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
CALL 'public final fun plus (_context_receiver_0: <root>.NumberOperations, other: <root>.Matrix): <root>.Matrix declared in <root>' type=<root>.Matrix origin=null
CALL 'public final fun plus ($context_receiver_0: <root>.NumberOperations, other: <root>.Matrix): <root>.Matrix declared in <root>' type=<root>.Matrix origin=null
$receiver: GET_VAR 'm2: <root>.Matrix declared in <root>.plusMatrix' type=<root>.Matrix origin=null
_context_receiver_0: GET_VAR '<this>: <root>.NumberOperations declared in <root>.plusMatrix' type=<root>.NumberOperations origin=null
$context_receiver_0: GET_VAR '<this>: <root>.NumberOperations declared in <root>.plusMatrix' type=<root>.NumberOperations origin=null
other: GET_VAR 'm1: <root>.Matrix declared in <root>.plusMatrix' type=<root>.Matrix origin=null