[IR, Tests] Add context receivers count to IR dump
This commit is contained in:
committed by
TeamCityServer
parent
4372670dfa
commit
17f24319d0
@@ -186,6 +186,7 @@ open class DeepCopyIrTreeWithSymbols(
|
||||
overriddenSymbols = declaration.overriddenSymbols.map {
|
||||
symbolRemapper.getReferencedFunction(it) as IrSimpleFunctionSymbol
|
||||
}
|
||||
contextReceiverParametersCount = declaration.contextReceiverParametersCount
|
||||
copyAttributes(declaration)
|
||||
transformFunctionChildren(declaration)
|
||||
}
|
||||
|
||||
@@ -138,6 +138,12 @@ class DumpIrTreeVisitor(
|
||||
declaration.overriddenSymbols.dumpItems("overridden") { it.dump() }
|
||||
declaration.typeParameters.dumpElements()
|
||||
declaration.dispatchReceiverParameter?.accept(this, "\$this")
|
||||
|
||||
val contextReceiverParametersCount = declaration.contextReceiverParametersCount
|
||||
if (contextReceiverParametersCount > 0) {
|
||||
printer.println("contextReceiverParametersCount: $contextReceiverParametersCount")
|
||||
}
|
||||
|
||||
declaration.extensionReceiverParameter?.accept(this, "\$receiver")
|
||||
declaration.valueParameters.dumpElements()
|
||||
declaration.body?.accept(this, "")
|
||||
|
||||
+2
@@ -22,6 +22,7 @@ FILE fqName:<root> fileName:/canvas.kt
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Shape
|
||||
FUN name:draw visibility:public modality:ABSTRACT <> ($this:<root>.Shape, <this>:<root>.Canvas) returnType:kotlin.String
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Shape
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.Canvas
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
@@ -46,6 +47,7 @@ FILE fqName:<root> fileName:/canvas.kt
|
||||
overridden:
|
||||
public abstract fun draw (<this>: <root>.Canvas): kotlin.String declared in <root>.Shape
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Circle
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.Canvas
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public open fun draw (<this>: <root>.Canvas): kotlin.String declared in <root>.Circle'
|
||||
|
||||
+2
@@ -159,6 +159,7 @@ FILE fqName:<root> fileName:/compareTo.kt
|
||||
CONST Boolean type=kotlin.Boolean value=true
|
||||
FUN name:compareTo visibility:public modality:FINAL <T> ($receiver:T of <root>.compareTo, <this>:java.util.Comparator<T of <root>.compareTo>{ kotlin.TypeAliasesKt.Comparator<T of <root>.compareTo> }, other:T of <root>.compareTo) returnType:kotlin.Int [operator,infix]
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?]
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:<this> type:T of <root>.compareTo
|
||||
VALUE_PARAMETER name:<this> index:0 type:java.util.Comparator<T of <root>.compareTo>{ kotlin.TypeAliasesKt.Comparator<T of <root>.compareTo> }
|
||||
VALUE_PARAMETER name:other index:1 type:T of <root>.compareTo
|
||||
@@ -172,6 +173,7 @@ FILE fqName:<root> fileName:/compareTo.kt
|
||||
FUN name:<get-min> visibility:public modality:FINAL <T> ($receiver:<root>.Pair<T of <root>.<get-min>, T of <root>.<get-min>>, <this>:java.util.Comparator<T of <root>.<get-min>>{ kotlin.TypeAliasesKt.Comparator<T of <root>.<get-min>> }) returnType:T of <root>.<get-min>
|
||||
correspondingProperty: PROPERTY name:min visibility:public modality:FINAL [val]
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?]
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.Pair<T of <root>.<get-min>, T of <root>.<get-min>>
|
||||
VALUE_PARAMETER name:<this> index:0 type:java.util.Comparator<T of <root>.<get-min>>{ kotlin.TypeAliasesKt.Comparator<T of <root>.<get-min>> }
|
||||
BLOCK_BODY
|
||||
|
||||
@@ -32,6 +32,7 @@ FILE fqName:<root> fileName:/dp.kt
|
||||
PROPERTY name:dp visibility:public modality:FINAL [val]
|
||||
FUN name:<get-dp> visibility:public modality:FINAL <> ($receiver:kotlin.Int, <this>:<root>.View) returnType:kotlin.Int
|
||||
correspondingProperty: PROPERTY name:dp visibility:public modality:FINAL [val]
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.View
|
||||
BLOCK_BODY
|
||||
|
||||
+2
@@ -80,6 +80,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:f visibility:public modality:FINAL <T> ($receiver:<root>.K, <this>:<root>.O, g:@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function3<<root>.O, <root>.K, <root>.Param, T of <root>.f>) returnType:T of <root>.f
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?]
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.K
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.O
|
||||
VALUE_PARAMETER name:g index:1 type:@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function3<<root>.O, <root>.K, <root>.Param, T of <root>.f>
|
||||
@@ -108,6 +109,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
<this>: GET_VAR '$this$with: <root>.O declared in <root>.box.<anonymous>' type=<root>.O origin=null
|
||||
g: FUN_EXPR type=@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function3<<root>.O, <root>.K, <root>.Param, kotlin.String> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.K, <this>:<root>.O, it:<root>.Param) returnType:kotlin.String
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:$this$f type:<root>.K
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.O
|
||||
VALUE_PARAMETER name:it index:1 type:<root>.Param
|
||||
|
||||
+1
@@ -137,6 +137,7 @@ FILE fqName:<root> fileName:/monoidSum.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:sum visibility:public modality:FINAL <T> ($receiver:kotlin.collections.List<T of <root>.sum>, <this>:<root>.Monoid<T of <root>.sum>) returnType:T of <root>.sum
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?]
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.collections.List<T of <root>.sum>
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.Monoid<T of <root>.sum>
|
||||
BLOCK_BODY
|
||||
|
||||
@@ -30,6 +30,7 @@ FILE fqName:<root> fileName:/function.kt
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:FINAL <> (<this>:<root>.C) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
BLOCK_BODY
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
|
||||
+12
@@ -79,6 +79,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:f1 visibility:public modality:FINAL <> ($receiver:<root>.R, <this>:<root>.C, g:@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function3<<root>.C, <root>.R, <root>.Param, kotlin.Unit>) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.R
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
VALUE_PARAMETER name:g index:1 type:@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function3<<root>.C, <root>.R, <root>.Param, kotlin.Unit>
|
||||
@@ -89,6 +90,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
p2: GET_VAR '<this>: <root>.R declared in <root>.f1' type=<root>.R origin=null
|
||||
p3: CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in <root>.Param' type=<root>.Param origin=null
|
||||
FUN name:f2 visibility:public modality:FINAL <> (<this>:<root>.C, g:@[ContextFunctionTypeParams(count = '1')] kotlin.Function2<<root>.C, <root>.Param, kotlin.Unit>) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
VALUE_PARAMETER name:g index:1 type:@[ContextFunctionTypeParams(count = '1')] kotlin.Function2<<root>.C, <root>.Param, kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
@@ -97,6 +99,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
p1: GET_VAR '<this>: <root>.C declared in <root>.f2' type=<root>.C origin=null
|
||||
p2: CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in <root>.Param' type=<root>.Param origin=null
|
||||
FUN name:f3 visibility:public modality:FINAL <> ($receiver:<root>.R, <this>:<root>.C, g:@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function2<<root>.C, <root>.R, kotlin.Unit>) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.R
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
VALUE_PARAMETER name:g index:1 type:@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function2<<root>.C, <root>.R, kotlin.Unit>
|
||||
@@ -106,6 +109,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
p1: GET_VAR '<this>: <root>.C declared in <root>.f3' type=<root>.C origin=null
|
||||
p2: GET_VAR '<this>: <root>.R declared in <root>.f3' type=<root>.R origin=null
|
||||
FUN name:f4 visibility:public modality:FINAL <> (<this>:<root>.C, g:@[ContextFunctionTypeParams(count = '1')] kotlin.Function1<<root>.C, kotlin.Unit>) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
VALUE_PARAMETER name:g index:1 type:@[ContextFunctionTypeParams(count = '1')] kotlin.Function1<<root>.C, kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
@@ -117,6 +121,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
VAR name:lf1 type:@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function3<<root>.C, <root>.R, <root>.Param, kotlin.Unit> [val]
|
||||
FUN_EXPR type=@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function3<<root>.C, <root>.R, <root>.Param, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.R, <this>:<root>.C, $noName_0:<root>.Param) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:$this$null type:<root>.R
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
VALUE_PARAMETER name:$noName_0 index:1 type:<root>.Param
|
||||
@@ -130,6 +135,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
VAR name:lf2 type:@[ContextFunctionTypeParams(count = '1')] kotlin.Function2<<root>.C, <root>.Param, kotlin.Unit> [val]
|
||||
FUN_EXPR type=@[ContextFunctionTypeParams(count = '1')] kotlin.Function2<<root>.C, <root>.Param, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (<this>:<root>.C, $noName_0:<root>.Param) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
VALUE_PARAMETER name:$noName_0 index:1 type:<root>.Param
|
||||
BLOCK_BODY
|
||||
@@ -139,6 +145,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
VAR name:lf3 type:@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function2<<root>.C, <root>.R, kotlin.Unit> [val]
|
||||
FUN_EXPR type=@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function2<<root>.C, <root>.R, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.R, <this>:<root>.C) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:$this$null type:<root>.R
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
BLOCK_BODY
|
||||
@@ -151,6 +158,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
VAR name:lf4 type:@[ContextFunctionTypeParams(count = '1')] kotlin.Function1<<root>.C, kotlin.Unit> [val]
|
||||
FUN_EXPR type=@[ContextFunctionTypeParams(count = '1')] kotlin.Function1<<root>.C, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (<this>:<root>.C) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
BLOCK_BODY
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
@@ -181,6 +189,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
<this>: GET_VAR '$this$with: <root>.C declared in <root>.test.<anonymous>' type=<root>.C origin=null
|
||||
g: FUN_EXPR type=@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function3<<root>.C, <root>.R, <root>.Param, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.R, <this>:<root>.C, $noName_0:<root>.Param) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:$this$f1 type:<root>.R
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
VALUE_PARAMETER name:$noName_0 index:1 type:<root>.Param
|
||||
@@ -198,6 +207,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
<this>: GET_VAR '$this$with: <root>.C declared in <root>.test.<anonymous>' type=<root>.C origin=null
|
||||
g: FUN_EXPR type=@[ContextFunctionTypeParams(count = '1')] kotlin.Function2<<root>.C, <root>.Param, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (<this>:<root>.C, $noName_0:<root>.Param) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
VALUE_PARAMETER name:$noName_0 index:1 type:<root>.Param
|
||||
BLOCK_BODY
|
||||
@@ -213,6 +223,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
<this>: GET_VAR '$this$with: <root>.C declared in <root>.test.<anonymous>' type=<root>.C origin=null
|
||||
g: FUN_EXPR type=@[ExtensionFunctionType] @[ContextFunctionTypeParams(count = '1')] kotlin.Function2<<root>.C, <root>.R, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.R, <this>:<root>.C) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:$this$f3 type:<root>.R
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
BLOCK_BODY
|
||||
@@ -229,6 +240,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
<this>: GET_VAR '$this$with: <root>.C declared in <root>.test.<anonymous>' type=<root>.C origin=null
|
||||
g: FUN_EXPR type=@[ContextFunctionTypeParams(count = '1')] kotlin.Function1<<root>.C, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (<this>:<root>.C) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.C
|
||||
BLOCK_BODY
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
|
||||
@@ -16,16 +16,19 @@ FILE fqName:<root> fileName:/lazy.kt
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:test1 visibility:public modality:FINAL <> (<this>:<root>.Lazy<kotlin.Int>, <this>:<root>.Lazy<kotlin.CharSequence>) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 2
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.Lazy<kotlin.Int>
|
||||
VALUE_PARAMETER name:<this> index:1 type:<root>.Lazy<kotlin.CharSequence>
|
||||
BLOCK_BODY
|
||||
FUN name:test2 visibility:public modality:FINAL <T> ($receiver:<root>.Lazy<kotlin.Int>, <this>:<root>.Lazy<T of <root>.test2>) returnType:kotlin.Unit
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?]
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.Lazy<kotlin.Int>
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.Lazy<T of <root>.test2>
|
||||
BLOCK_BODY
|
||||
FUN name:test3 visibility:public modality:FINAL <T> ($receiver:<root>.Lazy<kotlin.Int>, <this>:<root>.Lazy<<root>.Lazy<T of <root>.test3>>) returnType:kotlin.Unit
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?]
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.Lazy<kotlin.Int>
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.Lazy<<root>.Lazy<T of <root>.test3>>
|
||||
BLOCK_BODY
|
||||
|
||||
+1
@@ -43,6 +43,7 @@ FILE fqName:<root> fileName:/localDeclaration.kt
|
||||
FUN name:testLocalFunction visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
FUN LOCAL_FUNCTION name:local visibility:local modality:FINAL <> (<this>:<root>.A) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.A
|
||||
BLOCK_BODY
|
||||
CALL 'public open fun f (): kotlin.Unit declared in <root>.A' type=kotlin.Unit origin=null
|
||||
|
||||
+1
@@ -19,6 +19,7 @@ FILE fqName:<root> fileName:/overloadPriority.kt
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:f visibility:public modality:FINAL <> (<this>:<root>.Context) returnType:kotlin.String
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.Context
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun f (<this>: <root>.Context): kotlin.String declared in <root>'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE fqName:<root> fileName:/overloading.kt
|
||||
FUN name:foo visibility:public modality:FINAL <> (<this>:kotlin.Int, <this>:kotlin.String) returnType:kotlin.Int
|
||||
contextReceiverParametersCount: 2
|
||||
VALUE_PARAMETER name:<this> index:0 type:kotlin.Int
|
||||
VALUE_PARAMETER name:<this> index:1 type:kotlin.String
|
||||
BLOCK_BODY
|
||||
@@ -8,6 +9,7 @@ FILE fqName:<root> fileName:/overloading.kt
|
||||
$this: GET_VAR '<this>: kotlin.Int declared in <root>.foo' type=kotlin.Int origin=null
|
||||
other: CONST Int type=kotlin.Int value=42
|
||||
FUN name:foo visibility:public modality:FINAL <> (<this>:kotlin.Int) returnType:kotlin.Int
|
||||
contextReceiverParametersCount: 1
|
||||
VALUE_PARAMETER name:<this> index:0 type:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun foo (<this>: kotlin.Int): kotlin.Int declared in <root>'
|
||||
|
||||
@@ -38,6 +38,7 @@ FILE fqName:<root> fileName:/plusMatrix.kt
|
||||
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, <this>:<root>.NumberOperations, other:<root>.Matrix) returnType:<root>.Matrix
|
||||
contextReceiverParametersCount: 1
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.Matrix
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.NumberOperations
|
||||
VALUE_PARAMETER name:other index:1 type:<root>.Matrix
|
||||
|
||||
@@ -36,6 +36,7 @@ FILE fqName:<root> fileName:/property.kt
|
||||
PROPERTY name:c visibility:public modality:FINAL [val]
|
||||
FUN name:<get-c> visibility:public modality:FINAL <> (<this>:<root>.B, <this>:<root>.A) returnType:kotlin.Int
|
||||
correspondingProperty: PROPERTY name:c visibility:public modality:FINAL [val]
|
||||
contextReceiverParametersCount: 2
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.B
|
||||
VALUE_PARAMETER name:<this> index:1 type:<root>.A
|
||||
BLOCK_BODY
|
||||
|
||||
+2
@@ -94,6 +94,7 @@ FILE fqName:<root> fileName:/thisWithCustomLabel.kt
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:f visibility:public modality:FINAL <> (<this>:<root>.A<kotlin.Int>, <this>:<root>.A<kotlin.String>, <this>:<root>.B) returnType:kotlin.Unit
|
||||
contextReceiverParametersCount: 3
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.A<kotlin.Int>
|
||||
VALUE_PARAMETER name:<this> index:1 type:<root>.A<kotlin.String>
|
||||
VALUE_PARAMETER name:<this> index:2 type:<root>.B
|
||||
@@ -112,6 +113,7 @@ FILE fqName:<root> fileName:/thisWithCustomLabel.kt
|
||||
PROPERTY name:p visibility:public modality:FINAL [val]
|
||||
FUN name:<get-p> visibility:public modality:FINAL <> ($receiver:<root>.C, <this>:<root>.B, <this>:<root>.A<kotlin.String>, <this>:<root>.A<kotlin.Int>) returnType:kotlin.Int
|
||||
correspondingProperty: PROPERTY name:p visibility:public modality:FINAL [val]
|
||||
contextReceiverParametersCount: 3
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
VALUE_PARAMETER name:<this> index:0 type:<root>.B
|
||||
VALUE_PARAMETER name:<this> index:1 type:<root>.A<kotlin.String>
|
||||
|
||||
Reference in New Issue
Block a user