[IR] Don't print multifile/synthetic facade class names in irText tests
This only applies to JVM and fq-names in declaration references in IR dumps. This enables us to run more irText tests on platforms other than JVM (see KT-58605).
This commit is contained in:
committed by
Space Team
parent
cc76bbd09d
commit
f2031ae642
@@ -578,7 +578,7 @@ private inline fun StringBuilder.appendDeclarationNameToFqName(
|
||||
options: DumpIrTreeOptions,
|
||||
fallback: () -> Unit
|
||||
) {
|
||||
if (declaration.origin != IrDeclarationOrigin.FILE_CLASS || options.printFacadeClassInFqNames) {
|
||||
if (!declaration.isFileClass || options.printFacadeClassInFqNames) {
|
||||
append('.')
|
||||
if (declaration is IrDeclarationWithName) {
|
||||
append(declaration.name)
|
||||
|
||||
+8
-8
@@ -49,16 +49,16 @@ FILE fqName:<root> fileName:/test.kt
|
||||
VAR name:clazz type:kotlin.reflect.KClass<<root>.Foo> [val]
|
||||
CLASS_REFERENCE 'CLASS CLASS name:Foo modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.reflect.KClass<<root>.Foo>
|
||||
VAR name:parameterAnnotations type:kotlin.collections.Set<kotlin.String> [val]
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.CollectionsKt.toSet> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.toSet> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.map, R of kotlin.collections.CollectionsKt.map>): kotlin.collections.List<R of kotlin.collections.CollectionsKt.map> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: kotlin.Annotation
|
||||
<R>: kotlin.String
|
||||
$receiver: CALL 'public abstract fun <get-annotations> (): kotlin.collections.List<kotlin.Annotation> declared in kotlin.reflect.KParameter' type=kotlin.collections.List<kotlin.Annotation> origin=GET_PROPERTY
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.CollectionsKt.single declared in kotlin.collections.CollectionsKt' type=kotlin.reflect.KParameter origin=null
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.single declared in kotlin.collections' type=kotlin.reflect.KParameter origin=null
|
||||
<T>: kotlin.reflect.KParameter
|
||||
$receiver: CALL 'public abstract fun <get-parameters> (): kotlin.collections.List<kotlin.reflect.KParameter> declared in kotlin.reflect.KFunction' type=kotlin.collections.List<kotlin.reflect.KParameter> origin=GET_PROPERTY
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.CollectionsKt.single declared in kotlin.collections.CollectionsKt' type=kotlin.reflect.KFunction<<root>.Foo> origin=null
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.single declared in kotlin.collections' type=kotlin.reflect.KFunction<<root>.Foo> origin=null
|
||||
<T>: kotlin.reflect.KFunction<<root>.Foo>
|
||||
$receiver: CALL 'public abstract fun <get-constructors> (): kotlin.collections.Collection<kotlin.reflect.KFunction<T of kotlin.reflect.KClass>> declared in kotlin.reflect.KClass' type=kotlin.collections.Collection<kotlin.reflect.KFunction<<root>.Foo>> origin=GET_PROPERTY
|
||||
$this: GET_VAR 'val clazz: kotlin.reflect.KClass<<root>.Foo> declared in <root>.box' type=kotlin.reflect.KClass<<root>.Foo> origin=null
|
||||
@@ -83,9 +83,9 @@ FILE fqName:<root> fileName:/test.kt
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: GET_VAR 'val tmp_0: kotlin.String? declared in <root>.box.<anonymous>' type=kotlin.String? origin=null
|
||||
VAR name:fieldAnnotations type:kotlin.collections.Set<kotlin.String> [val]
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.CollectionsKt.toSet> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.toSet> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.ArraysKt.map, R of kotlin.collections.ArraysKt.map>): kotlin.collections.List<R of kotlin.collections.ArraysKt.map> declared in kotlin.collections.ArraysKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: @[FlexibleNullability] kotlin.Annotation?
|
||||
<R>: kotlin.String
|
||||
$receiver: TYPE_OP type=kotlin.Array<out @[FlexibleNullability] kotlin.Annotation?> origin=IMPLICIT_NOTNULL typeOperand=kotlin.Array<out @[FlexibleNullability] kotlin.Annotation?>
|
||||
@@ -121,7 +121,7 @@ FILE fqName:<root> fileName:/test.kt
|
||||
if: CALL 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: GET_VAR 'val parameterAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.SetsKt.setOf): kotlin.collections.Set<T of kotlin.collections.SetsKt.setOf> declared in kotlin.collections.SetsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.setOf): kotlin.collections.Set<T of kotlin.collections.setOf> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
elements: VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="NoTarget"
|
||||
@@ -136,7 +136,7 @@ FILE fqName:<root> fileName:/test.kt
|
||||
if: CALL 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: GET_VAR 'val fieldAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (element: T of kotlin.collections.SetsKt.setOf): kotlin.collections.Set<T of kotlin.collections.SetsKt.setOf> declared in kotlin.collections.SetsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (element: T of kotlin.collections.setOf): kotlin.collections.Set<T of kotlin.collections.setOf> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
element: CONST String type=kotlin.String value="FieldOnly"
|
||||
then: RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
|
||||
+8
-8
@@ -49,16 +49,16 @@ FILE fqName:<root> fileName:/test.kt
|
||||
VAR name:clazz type:kotlin.reflect.KClass<<root>.Foo> [val]
|
||||
CLASS_REFERENCE 'CLASS CLASS name:Foo modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.reflect.KClass<<root>.Foo>
|
||||
VAR name:parameterAnnotations type:kotlin.collections.Set<kotlin.String> [val]
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.CollectionsKt.toSet> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.toSet> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.map, R of kotlin.collections.CollectionsKt.map>): kotlin.collections.List<R of kotlin.collections.CollectionsKt.map> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: kotlin.Annotation
|
||||
<R>: kotlin.String
|
||||
$receiver: CALL 'public abstract fun <get-annotations> (): kotlin.collections.List<kotlin.Annotation> declared in kotlin.reflect.KParameter' type=kotlin.collections.List<kotlin.Annotation> origin=GET_PROPERTY
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.CollectionsKt.single declared in kotlin.collections.CollectionsKt' type=kotlin.reflect.KParameter origin=null
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.single declared in kotlin.collections' type=kotlin.reflect.KParameter origin=null
|
||||
<T>: kotlin.reflect.KParameter
|
||||
$receiver: CALL 'public abstract fun <get-parameters> (): kotlin.collections.List<kotlin.reflect.KParameter> declared in kotlin.reflect.KFunction' type=kotlin.collections.List<kotlin.reflect.KParameter> origin=GET_PROPERTY
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.CollectionsKt.single declared in kotlin.collections.CollectionsKt' type=kotlin.reflect.KFunction<<root>.Foo> origin=null
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.single declared in kotlin.collections' type=kotlin.reflect.KFunction<<root>.Foo> origin=null
|
||||
<T>: kotlin.reflect.KFunction<<root>.Foo>
|
||||
$receiver: CALL 'public abstract fun <get-constructors> (): kotlin.collections.Collection<kotlin.reflect.KFunction<T of kotlin.reflect.KClass>> declared in kotlin.reflect.KClass' type=kotlin.collections.Collection<kotlin.reflect.KFunction<<root>.Foo>> origin=GET_PROPERTY
|
||||
$this: GET_VAR 'val clazz: kotlin.reflect.KClass<<root>.Foo> declared in <root>.box' type=kotlin.reflect.KClass<<root>.Foo> origin=null
|
||||
@@ -83,9 +83,9 @@ FILE fqName:<root> fileName:/test.kt
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: GET_VAR 'val tmp_0: kotlin.String? declared in <root>.box.<anonymous>' type=kotlin.String? origin=null
|
||||
VAR name:fieldAnnotations type:kotlin.collections.Set<kotlin.String> [val]
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.CollectionsKt.toSet> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.toSet> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.ArraysKt.map, R of kotlin.collections.ArraysKt.map>): kotlin.collections.List<R of kotlin.collections.ArraysKt.map> declared in kotlin.collections.ArraysKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: @[FlexibleNullability] kotlin.Annotation?
|
||||
<R>: kotlin.String
|
||||
$receiver: TYPE_OP type=kotlin.Array<out @[FlexibleNullability] kotlin.Annotation?> origin=IMPLICIT_NOTNULL typeOperand=kotlin.Array<out @[FlexibleNullability] kotlin.Annotation?>
|
||||
@@ -121,7 +121,7 @@ FILE fqName:<root> fileName:/test.kt
|
||||
if: CALL 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: GET_VAR 'val parameterAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.SetsKt.setOf): kotlin.collections.Set<T of kotlin.collections.SetsKt.setOf> declared in kotlin.collections.SetsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.setOf): kotlin.collections.Set<T of kotlin.collections.setOf> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
elements: VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="NoTarget"
|
||||
@@ -136,7 +136,7 @@ FILE fqName:<root> fileName:/test.kt
|
||||
if: CALL 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: GET_VAR 'val fieldAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (element: T of kotlin.collections.SetsKt.setOf): kotlin.collections.Set<T of kotlin.collections.SetsKt.setOf> declared in kotlin.collections.SetsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (element: T of kotlin.collections.setOf): kotlin.collections.Set<T of kotlin.collections.setOf> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
element: CONST String type=kotlin.String value="FieldOnly"
|
||||
then: RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
|
||||
+15
-15
@@ -176,16 +176,16 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
VAR name:clazz type:kotlin.reflect.KClass<<root>.Foo> [val]
|
||||
CLASS_REFERENCE 'CLASS CLASS name:Foo modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.reflect.KClass<<root>.Foo>
|
||||
VAR name:parameterAnnotations type:kotlin.collections.Set<kotlin.String> [val]
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.CollectionsKt.toSet> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.toSet> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.map, R of kotlin.collections.CollectionsKt.map>): kotlin.collections.List<R of kotlin.collections.CollectionsKt.map> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: kotlin.Annotation
|
||||
<R>: kotlin.String
|
||||
$receiver: CALL 'public abstract fun <get-annotations> (): kotlin.collections.List<kotlin.Annotation> declared in kotlin.reflect.KParameter' type=kotlin.collections.List<kotlin.Annotation> origin=GET_PROPERTY
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.CollectionsKt.single declared in kotlin.collections.CollectionsKt' type=kotlin.reflect.KParameter origin=null
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.single declared in kotlin.collections' type=kotlin.reflect.KParameter origin=null
|
||||
<T>: kotlin.reflect.KParameter
|
||||
$receiver: CALL 'public abstract fun <get-parameters> (): kotlin.collections.List<kotlin.reflect.KParameter> declared in kotlin.reflect.KFunction' type=kotlin.collections.List<kotlin.reflect.KParameter> origin=GET_PROPERTY
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.CollectionsKt.single declared in kotlin.collections.CollectionsKt' type=kotlin.reflect.KFunction<<root>.Foo> origin=null
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.single declared in kotlin.collections' type=kotlin.reflect.KFunction<<root>.Foo> origin=null
|
||||
<T>: kotlin.reflect.KFunction<<root>.Foo>
|
||||
$receiver: CALL 'public abstract fun <get-constructors> (): kotlin.collections.Collection<kotlin.reflect.KFunction<T of kotlin.reflect.KClass>> declared in kotlin.reflect.KClass' type=kotlin.collections.Collection<kotlin.reflect.KFunction<<root>.Foo>> origin=GET_PROPERTY
|
||||
$this: GET_VAR 'val clazz: kotlin.reflect.KClass<<root>.Foo> declared in <root>.box' type=kotlin.reflect.KClass<<root>.Foo> origin=null
|
||||
@@ -210,13 +210,13 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: GET_VAR 'val tmp_0: kotlin.String? declared in <root>.box.<anonymous>' type=kotlin.String? origin=null
|
||||
VAR name:propertyAnnotations type:kotlin.collections.Set<kotlin.String> [val]
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.CollectionsKt.toSet> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.toSet> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.map, R of kotlin.collections.CollectionsKt.map>): kotlin.collections.List<R of kotlin.collections.CollectionsKt.map> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: kotlin.Annotation
|
||||
<R>: kotlin.String
|
||||
$receiver: CALL 'public abstract fun <get-annotations> (): kotlin.collections.List<kotlin.Annotation> declared in kotlin.reflect.KProperty1' type=kotlin.collections.List<kotlin.Annotation> origin=GET_PROPERTY
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.CollectionsKt.single declared in kotlin.collections.CollectionsKt' type=kotlin.reflect.KProperty1<<root>.Foo, *> origin=null
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.single declared in kotlin.collections' type=kotlin.reflect.KProperty1<<root>.Foo, *> origin=null
|
||||
<T>: kotlin.reflect.KProperty1<<root>.Foo, *>
|
||||
$receiver: CALL 'public final fun <get-declaredMemberProperties> <T> (): kotlin.collections.Collection<kotlin.reflect.KProperty1<T of kotlin.reflect.full.<get-declaredMemberProperties>, *>> declared in kotlin.reflect.full' type=kotlin.collections.Collection<kotlin.reflect.KProperty1<<root>.Foo, *>> origin=GET_PROPERTY
|
||||
<T>: <root>.Foo
|
||||
@@ -242,9 +242,9 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: GET_VAR 'val tmp_1: kotlin.String? declared in <root>.box.<anonymous>' type=kotlin.String? origin=null
|
||||
VAR name:fieldAnnotations type:kotlin.collections.Set<kotlin.String> [val]
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.CollectionsKt.toSet> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.toSet> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.ArraysKt.map, R of kotlin.collections.ArraysKt.map>): kotlin.collections.List<R of kotlin.collections.ArraysKt.map> declared in kotlin.collections.ArraysKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: @[FlexibleNullability] kotlin.Annotation?
|
||||
<R>: kotlin.String
|
||||
$receiver: TYPE_OP type=kotlin.Array<out @[FlexibleNullability] kotlin.Annotation?> origin=IMPLICIT_NOTNULL typeOperand=kotlin.Array<out @[FlexibleNullability] kotlin.Annotation?>
|
||||
@@ -280,7 +280,7 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
if: CALL 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: GET_VAR 'val parameterAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.SetsKt.setOf): kotlin.collections.Set<T of kotlin.collections.SetsKt.setOf> declared in kotlin.collections.SetsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.setOf): kotlin.collections.Set<T of kotlin.collections.setOf> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
elements: VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="NoTarget"
|
||||
@@ -289,7 +289,7 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
then: RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun plus (other: kotlin.Any?): kotlin.String declared in kotlin.String' type=kotlin.String origin=PLUS
|
||||
$this: CONST String type=kotlin.String value="Parameters:"
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections.CollectionsKt' type=kotlin.String origin=null
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections' type=kotlin.String origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: GET_VAR 'val parameterAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
@@ -297,7 +297,7 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
if: CALL 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: GET_VAR 'val propertyAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.SetsKt.setOf): kotlin.collections.Set<T of kotlin.collections.SetsKt.setOf> declared in kotlin.collections.SetsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.setOf): kotlin.collections.Set<T of kotlin.collections.setOf> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
elements: VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="PropertyOnly"
|
||||
@@ -305,7 +305,7 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
then: RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun plus (other: kotlin.Any?): kotlin.String declared in kotlin.String' type=kotlin.String origin=PLUS
|
||||
$this: CONST String type=kotlin.String value="Property:"
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections.CollectionsKt' type=kotlin.String origin=null
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections' type=kotlin.String origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: GET_VAR 'val propertyAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
@@ -313,13 +313,13 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
if: CALL 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: GET_VAR 'val fieldAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (element: T of kotlin.collections.SetsKt.setOf): kotlin.collections.Set<T of kotlin.collections.SetsKt.setOf> declared in kotlin.collections.SetsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (element: T of kotlin.collections.setOf): kotlin.collections.Set<T of kotlin.collections.setOf> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
element: CONST String type=kotlin.String value="FieldOnly"
|
||||
then: RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun plus (other: kotlin.Any?): kotlin.String declared in kotlin.String' type=kotlin.String origin=PLUS
|
||||
$this: CONST String type=kotlin.String value="Field:"
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections.CollectionsKt' type=kotlin.String origin=null
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections' type=kotlin.String origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: GET_VAR 'val fieldAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
|
||||
+15
-15
@@ -176,16 +176,16 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
VAR name:clazz type:kotlin.reflect.KClass<<root>.Foo> [val]
|
||||
CLASS_REFERENCE 'CLASS CLASS name:Foo modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.reflect.KClass<<root>.Foo>
|
||||
VAR name:parameterAnnotations type:kotlin.collections.Set<kotlin.String> [val]
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.CollectionsKt.toSet> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.toSet> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.map, R of kotlin.collections.CollectionsKt.map>): kotlin.collections.List<R of kotlin.collections.CollectionsKt.map> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: kotlin.Annotation
|
||||
<R>: kotlin.String
|
||||
$receiver: CALL 'public abstract fun <get-annotations> (): kotlin.collections.List<kotlin.Annotation> declared in kotlin.reflect.KParameter' type=kotlin.collections.List<kotlin.Annotation> origin=GET_PROPERTY
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.CollectionsKt.single declared in kotlin.collections.CollectionsKt' type=kotlin.reflect.KParameter origin=null
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.single declared in kotlin.collections' type=kotlin.reflect.KParameter origin=null
|
||||
<T>: kotlin.reflect.KParameter
|
||||
$receiver: CALL 'public abstract fun <get-parameters> (): kotlin.collections.List<kotlin.reflect.KParameter> declared in kotlin.reflect.KFunction' type=kotlin.collections.List<kotlin.reflect.KParameter> origin=GET_PROPERTY
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.CollectionsKt.single declared in kotlin.collections.CollectionsKt' type=kotlin.reflect.KFunction<<root>.Foo> origin=null
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.single declared in kotlin.collections' type=kotlin.reflect.KFunction<<root>.Foo> origin=null
|
||||
<T>: kotlin.reflect.KFunction<<root>.Foo>
|
||||
$receiver: CALL 'public abstract fun <get-constructors> (): kotlin.collections.Collection<kotlin.reflect.KFunction<T of kotlin.reflect.KClass>> declared in kotlin.reflect.KClass' type=kotlin.collections.Collection<kotlin.reflect.KFunction<<root>.Foo>> origin=GET_PROPERTY
|
||||
$this: GET_VAR 'val clazz: kotlin.reflect.KClass<<root>.Foo> declared in <root>.box' type=kotlin.reflect.KClass<<root>.Foo> origin=null
|
||||
@@ -210,13 +210,13 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: GET_VAR 'val tmp_0: kotlin.String? declared in <root>.box.<anonymous>' type=kotlin.String? origin=null
|
||||
VAR name:propertyAnnotations type:kotlin.collections.Set<kotlin.String> [val]
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.CollectionsKt.toSet> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.toSet> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.map, R of kotlin.collections.CollectionsKt.map>): kotlin.collections.List<R of kotlin.collections.CollectionsKt.map> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: kotlin.Annotation
|
||||
<R>: kotlin.String
|
||||
$receiver: CALL 'public abstract fun <get-annotations> (): kotlin.collections.List<kotlin.Annotation> declared in kotlin.reflect.KProperty1' type=kotlin.collections.List<kotlin.Annotation> origin=GET_PROPERTY
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.CollectionsKt.single declared in kotlin.collections.CollectionsKt' type=kotlin.reflect.KProperty1<<root>.Foo, *> origin=null
|
||||
$this: CALL 'public final fun single <T> (): T of kotlin.collections.single declared in kotlin.collections' type=kotlin.reflect.KProperty1<<root>.Foo, *> origin=null
|
||||
<T>: kotlin.reflect.KProperty1<<root>.Foo, *>
|
||||
$receiver: CALL 'public final fun <get-declaredMemberProperties> <T> (): kotlin.collections.Collection<kotlin.reflect.KProperty1<T of kotlin.reflect.full.<get-declaredMemberProperties>, *>> declared in kotlin.reflect.full' type=kotlin.collections.Collection<kotlin.reflect.KProperty1<<root>.Foo, *>> origin=GET_PROPERTY
|
||||
<T>: <root>.Foo
|
||||
@@ -242,9 +242,9 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: GET_VAR 'val tmp_1: kotlin.String? declared in <root>.box.<anonymous>' type=kotlin.String? origin=null
|
||||
VAR name:fieldAnnotations type:kotlin.collections.Set<kotlin.String> [val]
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.CollectionsKt.toSet> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
CALL 'public final fun toSet <T> (): kotlin.collections.Set<T of kotlin.collections.toSet> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.ArraysKt.map, R of kotlin.collections.ArraysKt.map>): kotlin.collections.List<R of kotlin.collections.ArraysKt.map> declared in kotlin.collections.ArraysKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: @[FlexibleNullability] kotlin.Annotation?
|
||||
<R>: kotlin.String
|
||||
$receiver: TYPE_OP type=kotlin.Array<out @[FlexibleNullability] kotlin.Annotation?> origin=IMPLICIT_NOTNULL typeOperand=kotlin.Array<out @[FlexibleNullability] kotlin.Annotation?>
|
||||
@@ -280,7 +280,7 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
if: CALL 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: GET_VAR 'val parameterAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.SetsKt.setOf): kotlin.collections.Set<T of kotlin.collections.SetsKt.setOf> declared in kotlin.collections.SetsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.setOf): kotlin.collections.Set<T of kotlin.collections.setOf> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
elements: VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="NoTarget"
|
||||
@@ -289,7 +289,7 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
then: RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun plus (other: kotlin.Any?): kotlin.String declared in kotlin.String' type=kotlin.String origin=PLUS
|
||||
$this: CONST String type=kotlin.String value="Parameters:"
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections.CollectionsKt' type=kotlin.String origin=null
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections' type=kotlin.String origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: GET_VAR 'val parameterAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
@@ -297,7 +297,7 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
if: CALL 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: GET_VAR 'val propertyAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.SetsKt.setOf): kotlin.collections.Set<T of kotlin.collections.SetsKt.setOf> declared in kotlin.collections.SetsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (vararg elements: T of kotlin.collections.setOf): kotlin.collections.Set<T of kotlin.collections.setOf> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
elements: VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="PropertyOnly"
|
||||
@@ -305,7 +305,7 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
then: RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun plus (other: kotlin.Any?): kotlin.String declared in kotlin.String' type=kotlin.String origin=PLUS
|
||||
$this: CONST String type=kotlin.String value="Property:"
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections.CollectionsKt' type=kotlin.String origin=null
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections' type=kotlin.String origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: GET_VAR 'val propertyAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
@@ -313,13 +313,13 @@ FILE fqName:<root> fileName:/targetOnPrimaryCtorParameter.kt
|
||||
if: CALL 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: GET_VAR 'val fieldAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (element: T of kotlin.collections.SetsKt.setOf): kotlin.collections.Set<T of kotlin.collections.SetsKt.setOf> declared in kotlin.collections.SetsKt' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
arg1: CALL 'public final fun setOf <T> (element: T of kotlin.collections.setOf): kotlin.collections.Set<T of kotlin.collections.setOf> declared in kotlin.collections' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
element: CONST String type=kotlin.String value="FieldOnly"
|
||||
then: RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun plus (other: kotlin.Any?): kotlin.String declared in kotlin.String' type=kotlin.String origin=PLUS
|
||||
$this: CONST String type=kotlin.String value="Field:"
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections.CollectionsKt' type=kotlin.String origin=null
|
||||
other: CALL 'public final fun joinToString <T> (separator: kotlin.CharSequence, prefix: kotlin.CharSequence, postfix: kotlin.CharSequence, limit: kotlin.Int, truncated: kotlin.CharSequence, transform: kotlin.Function1<T of kotlin.collections.joinToString, kotlin.CharSequence>?): kotlin.String declared in kotlin.collections' type=kotlin.String origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: GET_VAR 'val fieldAnnotations: kotlin.collections.Set<kotlin.String> declared in <root>.box' type=kotlin.collections.Set<kotlin.String> origin=null
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
|
||||
@@ -17,9 +17,9 @@ FILE fqName:<root> fileName:/noSymbolForIntRangeIterator.kt
|
||||
FUN name:takeString visibility:public modality:FINAL <> (s:kotlin.String) returnType:kotlin.Unit
|
||||
VALUE_PARAMETER name:s index:0 type:kotlin.String
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun forEach <T> (action: kotlin.Function1<T of kotlin.collections.CollectionsKt.forEach, kotlin.Unit>): kotlin.Unit declared in kotlin.collections.CollectionsKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun forEach <T> (action: kotlin.Function1<T of kotlin.collections.forEach, kotlin.Unit>): kotlin.Unit declared in kotlin.collections' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun split (vararg delimiters: kotlin.String, ignoreCase: kotlin.Boolean, limit: kotlin.Int): kotlin.collections.List<kotlin.String> declared in kotlin.text.StringsKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun split (vararg delimiters: kotlin.String, ignoreCase: kotlin.Boolean, limit: kotlin.Int): kotlin.collections.List<kotlin.String> declared in kotlin.text' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: GET_VAR 's: kotlin.String declared in <root>.takeString' type=kotlin.String origin=null
|
||||
delimiters: VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="\n"
|
||||
@@ -32,7 +32,7 @@ FILE fqName:<root> fileName:/noSymbolForIntRangeIterator.kt
|
||||
$this: CALL 'public final fun <get-result> (): kotlin.Int declared in <root>' type=kotlin.Int origin=GET_PROPERTY
|
||||
other: BLOCK type=kotlin.Int origin=ELVIS
|
||||
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int? [val]
|
||||
CALL 'public final fun toIntOrNull (): kotlin.Int? declared in kotlin.text.StringsKt' type=kotlin.Int? origin=null
|
||||
CALL 'public final fun toIntOrNull (): kotlin.Int? declared in kotlin.text' type=kotlin.Int? origin=null
|
||||
$receiver: GET_VAR 'it: kotlin.String declared in <root>.takeString.<anonymous>' type=kotlin.String origin=null
|
||||
WHEN type=kotlin.Int origin=ELVIS
|
||||
BRANCH
|
||||
@@ -66,7 +66,7 @@ FILE fqName:<root> fileName:/noSymbolForIntRangeIterator.kt
|
||||
$this: GET_VAR 'val tmp_1: kotlin.collections.IntIterator declared in <root>.test.localFunc' type=kotlin.collections.IntIterator origin=null
|
||||
BLOCK type=kotlin.Unit origin=null
|
||||
VAR name:s type:kotlin.String [val]
|
||||
CALL 'public final fun buildString (builderAction: @[ExtensionFunctionType] kotlin.Function1<java.lang.StringBuilder, kotlin.Unit>): kotlin.String declared in kotlin.text.StringsKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun buildString (builderAction: @[ExtensionFunctionType] kotlin.Function1<java.lang.StringBuilder, kotlin.Unit>): kotlin.String declared in kotlin.text' type=kotlin.String origin=null
|
||||
builderAction: FUN_EXPR type=@[ExtensionFunctionType] kotlin.Function1<java.lang.StringBuilder, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:java.lang.StringBuilder) returnType:kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER name:$this$buildString type:java.lang.StringBuilder
|
||||
@@ -84,7 +84,7 @@ FILE fqName:<root> fileName:/noSymbolForIntRangeIterator.kt
|
||||
VAR FOR_LOOP_VARIABLE name:j type:kotlin.Int [val]
|
||||
CALL 'public final fun next (): kotlin.Int declared in kotlin.collections.IntIterator' type=kotlin.Int origin=FOR_LOOP_NEXT
|
||||
$this: GET_VAR 'val tmp_2: kotlin.collections.IntIterator declared in <root>.test.localFunc.<anonymous>' type=kotlin.collections.IntIterator origin=null
|
||||
CALL 'public final fun appendLine (value: kotlin.String?): java.lang.StringBuilder declared in kotlin.text.StringsKt' type=java.lang.StringBuilder origin=null
|
||||
CALL 'public final fun appendLine (value: kotlin.String?): java.lang.StringBuilder declared in kotlin.text' type=java.lang.StringBuilder origin=null
|
||||
$receiver: GET_VAR '$this$buildString: java.lang.StringBuilder declared in <root>.test.localFunc.<anonymous>' type=java.lang.StringBuilder origin=null
|
||||
value: STRING_CONCATENATION type=kotlin.String
|
||||
CALL 'public final fun times (other: kotlin.Int): kotlin.Int declared in kotlin.Int' type=kotlin.Int origin=MUL
|
||||
|
||||
@@ -17,9 +17,9 @@ FILE fqName:<root> fileName:/noSymbolForIntRangeIterator.kt
|
||||
FUN name:takeString visibility:public modality:FINAL <> (s:kotlin.String) returnType:kotlin.Unit
|
||||
VALUE_PARAMETER name:s index:0 type:kotlin.String
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun forEach <T> (action: kotlin.Function1<T of kotlin.collections.CollectionsKt.forEach, kotlin.Unit>): kotlin.Unit declared in kotlin.collections.CollectionsKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun forEach <T> (action: kotlin.Function1<T of kotlin.collections.forEach, kotlin.Unit>): kotlin.Unit declared in kotlin.collections' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun split (vararg delimiters: kotlin.String, ignoreCase: kotlin.Boolean, limit: kotlin.Int): kotlin.collections.List<kotlin.String> declared in kotlin.text.StringsKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun split (vararg delimiters: kotlin.String, ignoreCase: kotlin.Boolean, limit: kotlin.Int): kotlin.collections.List<kotlin.String> declared in kotlin.text' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: GET_VAR 's: kotlin.String declared in <root>.takeString' type=kotlin.String origin=null
|
||||
delimiters: VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="\n"
|
||||
@@ -33,7 +33,7 @@ FILE fqName:<root> fileName:/noSymbolForIntRangeIterator.kt
|
||||
$this: CALL 'public final fun <get-result> (): kotlin.Int declared in <root>' type=kotlin.Int origin=PLUSEQ
|
||||
other: BLOCK type=kotlin.Int origin=ELVIS
|
||||
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int? [val]
|
||||
CALL 'public final fun toIntOrNull (): kotlin.Int? declared in kotlin.text.StringsKt' type=kotlin.Int? origin=null
|
||||
CALL 'public final fun toIntOrNull (): kotlin.Int? declared in kotlin.text' type=kotlin.Int? origin=null
|
||||
$receiver: GET_VAR 'it: kotlin.String declared in <root>.takeString.<anonymous>' type=kotlin.String origin=null
|
||||
WHEN type=kotlin.Int origin=null
|
||||
BRANCH
|
||||
@@ -67,7 +67,7 @@ FILE fqName:<root> fileName:/noSymbolForIntRangeIterator.kt
|
||||
$this: GET_VAR 'val tmp_1: kotlin.collections.IntIterator declared in <root>.test.localFunc' type=kotlin.collections.IntIterator origin=null
|
||||
BLOCK type=kotlin.Unit origin=null
|
||||
VAR name:s type:kotlin.String [val]
|
||||
CALL 'public final fun buildString (builderAction: @[ExtensionFunctionType] kotlin.Function1<java.lang.StringBuilder{ kotlin.text.StringBuilder }, kotlin.Unit>): kotlin.String declared in kotlin.text.StringsKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun buildString (builderAction: @[ExtensionFunctionType] kotlin.Function1<java.lang.StringBuilder{ kotlin.text.StringBuilder }, kotlin.Unit>): kotlin.String declared in kotlin.text' type=kotlin.String origin=null
|
||||
builderAction: FUN_EXPR type=@[ExtensionFunctionType] kotlin.Function1<java.lang.StringBuilder{ kotlin.text.StringBuilder }, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:java.lang.StringBuilder{ kotlin.text.StringBuilder }) returnType:kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER name:$this$buildString type:java.lang.StringBuilder{ kotlin.text.StringBuilder }
|
||||
@@ -87,7 +87,7 @@ FILE fqName:<root> fileName:/noSymbolForIntRangeIterator.kt
|
||||
$this: GET_VAR 'val tmp_2: kotlin.collections.IntIterator declared in <root>.test.localFunc.<anonymous>' type=kotlin.collections.IntIterator origin=null
|
||||
BLOCK type=kotlin.Unit origin=null
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
CALL 'public final fun appendLine (value: kotlin.String?): java.lang.StringBuilder{ kotlin.text.StringBuilder } declared in kotlin.text.StringsKt' type=java.lang.StringBuilder{ kotlin.text.StringBuilder } origin=null
|
||||
CALL 'public final fun appendLine (value: kotlin.String?): java.lang.StringBuilder{ kotlin.text.StringBuilder } declared in kotlin.text' type=java.lang.StringBuilder{ kotlin.text.StringBuilder } origin=null
|
||||
$receiver: GET_VAR '$this$buildString: java.lang.StringBuilder{ kotlin.text.StringBuilder } declared in <root>.test.localFunc.<anonymous>' type=java.lang.StringBuilder{ kotlin.text.StringBuilder } origin=null
|
||||
value: STRING_CONCATENATION type=kotlin.String
|
||||
CALL 'public final fun times (other: kotlin.Int): kotlin.Int declared in kotlin.Int' type=kotlin.Int origin=MUL
|
||||
|
||||
@@ -205,7 +205,7 @@ FILE fqName:<root> fileName:/kt44814.kt
|
||||
CONSTRUCTOR visibility:public <> (_children:kotlin.collections.List<<root>.LighterASTNode?>) returnType:<root>.LighterASTNode [primary]
|
||||
VALUE_PARAMETER name:_children index:0 type:kotlin.collections.List<<root>.LighterASTNode?>
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun emptyList <T> (): kotlin.collections.List<T of kotlin.collections.CollectionsKt.emptyList> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<<root>.LighterASTNode?> origin=null
|
||||
CALL 'public final fun emptyList <T> (): kotlin.collections.List<T of kotlin.collections.emptyList> declared in kotlin.collections' type=kotlin.collections.List<<root>.LighterASTNode?> origin=null
|
||||
<T>: <root>.LighterASTNode?
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
@@ -521,7 +521,7 @@ FILE fqName:<root> fileName:/kt44814.kt
|
||||
PROPERTY name:modifiers visibility:public modality:FINAL [val]
|
||||
FIELD PROPERTY_BACKING_FIELD name:modifiers type:kotlin.collections.List<<root>.FirModifier<*>> visibility:private [final]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun emptyList <T> (): kotlin.collections.List<T of kotlin.collections.CollectionsKt.emptyList> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<<root>.FirModifier<*>> origin=null
|
||||
CALL 'public final fun emptyList <T> (): kotlin.collections.List<T of kotlin.collections.emptyList> declared in kotlin.collections' type=kotlin.collections.List<<root>.FirModifier<*>> origin=null
|
||||
<T>: <root>.FirModifier<*>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-modifiers> visibility:public modality:FINAL <> ($this:<root>.FirModifierList) returnType:kotlin.collections.List<<root>.FirModifier<*>>
|
||||
correspondingProperty: PROPERTY name:modifiers visibility:public modality:FINAL [val]
|
||||
@@ -669,7 +669,7 @@ FILE fqName:<root> fileName:/kt44814.kt
|
||||
then: CONST Null type=kotlin.Nothing? value=null
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.StandardKt.let, R of kotlin.StandardKt.let>): R of kotlin.StandardKt.let declared in kotlin.StandardKt' type=<root>.FirModifierList.FirPsiModifierList origin=null
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.let, R of kotlin.let>): R of kotlin.let declared in kotlin' type=<root>.FirModifierList.FirPsiModifierList origin=null
|
||||
<T>: <root>.KtModifierList
|
||||
<R>: <root>.FirModifierList.FirPsiModifierList
|
||||
$receiver: GET_VAR 'val tmp_1: <root>.KtModifierList? declared in <root>.FirModifierList.Companion.getModifierList' type=<root>.KtModifierList? origin=null
|
||||
@@ -687,7 +687,7 @@ FILE fqName:<root> fileName:/kt44814.kt
|
||||
VAR name:modifierListNode type:<root>.LighterASTNode [val]
|
||||
BLOCK type=<root>.LighterASTNode origin=ELVIS
|
||||
VAR IR_TEMPORARY_VARIABLE name:tmp_3 type:<root>.LighterASTNode? [val]
|
||||
CALL 'public final fun find <T> (predicate: kotlin.Function1<T of kotlin.collections.CollectionsKt.find, kotlin.Boolean>): T of kotlin.collections.CollectionsKt.find? declared in kotlin.collections.CollectionsKt' type=<root>.LighterASTNode? origin=null
|
||||
CALL 'public final fun find <T> (predicate: kotlin.Function1<T of kotlin.collections.find, kotlin.Boolean>): T of kotlin.collections.find? declared in kotlin.collections' type=<root>.LighterASTNode? origin=null
|
||||
<T>: <root>.LighterASTNode?
|
||||
$receiver: CALL 'public final fun getChildren (treeStructure: <root>.FlyweightCapableTreeStructure): kotlin.collections.List<<root>.LighterASTNode?> declared in <root>.LighterASTNode' type=kotlin.collections.List<<root>.LighterASTNode?> origin=null
|
||||
$this: CALL 'public open fun <get-lighterASTNode> (): <root>.LighterASTNode declared in <root>.FirLightSourceElement' type=<root>.LighterASTNode origin=GET_PROPERTY
|
||||
@@ -741,7 +741,7 @@ FILE fqName:<root> fileName:/kt44814.kt
|
||||
VAR name:sourceElement type:<root>.FirSourceElement? [val]
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (lighterASTNode: <root>.LighterASTNode, treeStructure: <root>.FlyweightCapableTreeStructure) declared in <root>.FirLightSourceElement' type=<root>.FirLightSourceElement origin=null
|
||||
lighterASTNode: CONSTRUCTOR_CALL 'public constructor <init> (_children: kotlin.collections.List<<root>.LighterASTNode?>) declared in <root>.LighterASTNode' type=<root>.LighterASTNode origin=null
|
||||
_children: CALL 'public final fun listOf <T> (element: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List<T of kotlin.collections.CollectionsKt.listOf> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<<root>.LighterASTNode> origin=null
|
||||
_children: CALL 'public final fun listOf <T> (element: T of kotlin.collections.listOf): kotlin.collections.List<T of kotlin.collections.listOf> declared in kotlin.collections' type=kotlin.collections.List<<root>.LighterASTNode> origin=null
|
||||
<T>: <root>.LighterASTNode
|
||||
element: CONSTRUCTOR_CALL 'public constructor <init> (_children: kotlin.collections.List<<root>.LighterASTNode?>) declared in <root>.LighterASTNode' type=<root>.LighterASTNode origin=null
|
||||
treeStructure: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.FlyweightCapableTreeStructure' type=<root>.FlyweightCapableTreeStructure origin=null
|
||||
|
||||
+5
-5
@@ -205,7 +205,7 @@ FILE fqName:<root> fileName:/kt44814.kt
|
||||
CONSTRUCTOR visibility:public <> (_children:kotlin.collections.List<<root>.LighterASTNode?>) returnType:<root>.LighterASTNode [primary]
|
||||
VALUE_PARAMETER name:_children index:0 type:kotlin.collections.List<<root>.LighterASTNode?>
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun emptyList <T> (): kotlin.collections.List<T of kotlin.collections.CollectionsKt.emptyList> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<<root>.LighterASTNode?> origin=null
|
||||
CALL 'public final fun emptyList <T> (): kotlin.collections.List<T of kotlin.collections.emptyList> declared in kotlin.collections' type=kotlin.collections.List<<root>.LighterASTNode?> origin=null
|
||||
<T>: <root>.LighterASTNode?
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
@@ -521,7 +521,7 @@ FILE fqName:<root> fileName:/kt44814.kt
|
||||
PROPERTY name:modifiers visibility:public modality:FINAL [val]
|
||||
FIELD PROPERTY_BACKING_FIELD name:modifiers type:kotlin.collections.List<<root>.FirModifier<*>> visibility:private [final]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun emptyList <T> (): kotlin.collections.List<T of kotlin.collections.CollectionsKt.emptyList> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<<root>.FirModifier<*>> origin=null
|
||||
CALL 'public final fun emptyList <T> (): kotlin.collections.List<T of kotlin.collections.emptyList> declared in kotlin.collections' type=kotlin.collections.List<<root>.FirModifier<*>> origin=null
|
||||
<T>: <root>.FirModifier<*>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-modifiers> visibility:public modality:FINAL <> ($this:<root>.FirModifierList) returnType:kotlin.collections.List<<root>.FirModifier<*>>
|
||||
correspondingProperty: PROPERTY name:modifiers visibility:public modality:FINAL [val]
|
||||
@@ -669,7 +669,7 @@ FILE fqName:<root> fileName:/kt44814.kt
|
||||
then: CONST Null type=kotlin.Nothing? value=null
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.StandardKt.let, R of kotlin.StandardKt.let>): R of kotlin.StandardKt.let declared in kotlin.StandardKt' type=<root>.FirModifierList.FirPsiModifierList origin=null
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.let, R of kotlin.let>): R of kotlin.let declared in kotlin' type=<root>.FirModifierList.FirPsiModifierList origin=null
|
||||
<T>: <root>.KtModifierList
|
||||
<R>: <root>.FirModifierList.FirPsiModifierList
|
||||
$receiver: GET_VAR 'val tmp_1: <root>.KtModifierList? declared in <root>.FirModifierList.Companion.getModifierList' type=<root>.KtModifierList? origin=null
|
||||
@@ -687,7 +687,7 @@ FILE fqName:<root> fileName:/kt44814.kt
|
||||
VAR name:modifierListNode type:<root>.LighterASTNode [val]
|
||||
BLOCK type=<root>.LighterASTNode origin=ELVIS
|
||||
VAR IR_TEMPORARY_VARIABLE name:tmp_3 type:<root>.LighterASTNode? [val]
|
||||
CALL 'public final fun find <T> (predicate: kotlin.Function1<T of kotlin.collections.CollectionsKt.find, kotlin.Boolean>): T of kotlin.collections.CollectionsKt.find? declared in kotlin.collections.CollectionsKt' type=<root>.LighterASTNode? origin=null
|
||||
CALL 'public final fun find <T> (predicate: kotlin.Function1<T of kotlin.collections.find, kotlin.Boolean>): T of kotlin.collections.find? declared in kotlin.collections' type=<root>.LighterASTNode? origin=null
|
||||
<T>: <root>.LighterASTNode?
|
||||
$receiver: CALL 'public final fun getChildren (treeStructure: <root>.FlyweightCapableTreeStructure): kotlin.collections.List<<root>.LighterASTNode?> declared in <root>.LighterASTNode' type=kotlin.collections.List<<root>.LighterASTNode?> origin=null
|
||||
$this: CALL 'public abstract fun <get-lighterASTNode> (): <root>.LighterASTNode declared in <root>.FirSourceElement' type=<root>.LighterASTNode origin=GET_PROPERTY
|
||||
@@ -738,7 +738,7 @@ FILE fqName:<root> fileName:/kt44814.kt
|
||||
VAR name:sourceElement type:<root>.FirSourceElement? [val]
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (lighterASTNode: <root>.LighterASTNode, treeStructure: <root>.FlyweightCapableTreeStructure) declared in <root>.FirLightSourceElement' type=<root>.FirLightSourceElement origin=null
|
||||
lighterASTNode: CONSTRUCTOR_CALL 'public constructor <init> (_children: kotlin.collections.List<<root>.LighterASTNode?>) declared in <root>.LighterASTNode' type=<root>.LighterASTNode origin=null
|
||||
_children: CALL 'public final fun listOf <T> (element: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List<T of kotlin.collections.CollectionsKt.listOf> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<<root>.LighterASTNode> origin=null
|
||||
_children: CALL 'public final fun listOf <T> (element: T of kotlin.collections.listOf): kotlin.collections.List<T of kotlin.collections.listOf> declared in kotlin.collections' type=kotlin.collections.List<<root>.LighterASTNode> origin=null
|
||||
<T>: <root>.LighterASTNode
|
||||
element: CONSTRUCTOR_CALL 'public constructor <init> (_children: kotlin.collections.List<<root>.LighterASTNode?>) declared in <root>.LighterASTNode' type=<root>.LighterASTNode origin=null
|
||||
treeStructure: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.FlyweightCapableTreeStructure' type=<root>.FlyweightCapableTreeStructure origin=null
|
||||
|
||||
@@ -16,7 +16,7 @@ FILE fqName:<root> fileName:/initValInLambda.kt
|
||||
receiver: GET_VAR '<this>: <root>.TestInitValInLambdaCalledOnce declared in <root>.TestInitValInLambdaCalledOnce.<get-x>' type=<root>.TestInitValInLambdaCalledOnce origin=null
|
||||
ANONYMOUS_INITIALIZER isStatic=false
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun run <T, R> (block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.run, R of kotlin.StandardKt.run>): R of kotlin.StandardKt.run declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun run <T, R> (block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.run, R of kotlin.run>): R of kotlin.run declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: kotlin.Unit
|
||||
$receiver: CONST Int type=kotlin.Int value=1
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
class TestInitValInLambdaCalledOnce {
|
||||
val x: Int
|
||||
|
||||
+2
-2
@@ -23,7 +23,7 @@ FILE fqName:<root> fileName:/delegateFieldWithAnnotations.kt
|
||||
annotations:
|
||||
Ann
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.LazyKt.lazy>): kotlin.Lazy<T of kotlin.LazyKt.lazy> declared in kotlin.LazyKt' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.lazy>): kotlin.Lazy<T of kotlin.lazy> declared in kotlin' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
initializer: FUN_EXPR type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int
|
||||
@@ -34,7 +34,7 @@ FILE fqName:<root> fileName:/delegateFieldWithAnnotations.kt
|
||||
correspondingProperty: PROPERTY name:test1 visibility:public modality:FINAL [delegated,val]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun <get-test1> (): kotlin.Int declared in <root>'
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.LazyKt.getValue declared in kotlin.LazyKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.getValue declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_FIELD 'FIELD PROPERTY_DELEGATE name:test1$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final,static]' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
thisRef: CONST Null type=kotlin.Nothing? value=null
|
||||
|
||||
-2
@@ -1,8 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
// DUMP_LOCAL_DECLARATION_SIGNATURES
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: ANY
|
||||
// ^ KT-57428
|
||||
|
||||
Vendored
+4
-4
@@ -7,16 +7,16 @@ val test1: Int /* by */
|
||||
// Mangled name (compatible mode: false): {}test1#<anonymous>#static(){}kotlin.Int
|
||||
// Mangled name (compatible mode: true): test1$delegate#<anonymous>#static(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-test1>(){}
|
||||
// Public signature: /test1.<get-test1>|-5735092642142423279[0]
|
||||
// Mangled name (compatible mode: false): {}test1#<anonymous>#static(){}
|
||||
// Mangled name (compatible mode: true): test1$delegate#<anonymous>#static(){}
|
||||
local fun <anonymous>(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-test1>(){}kotlin.Int
|
||||
// Public signature: /test1.<get-test1>|3978508226793108919[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name (compatible mode: false): {}test1#<anonymous>#static(){}
|
||||
// Mangled name (compatible mode: true): test1$delegate#<anonymous>#static(){}
|
||||
// Mangled name: #<get-test1>(){}
|
||||
// Public signature: /test1.<get-test1>|-5735092642142423279[0]
|
||||
get(): Int
|
||||
|
||||
// CHECK:
|
||||
|
||||
+2
-2
@@ -35,7 +35,7 @@ FILE fqName:<root> fileName:/localDelegatedPropertiesWithAnnotations.kt
|
||||
BLOCK_BODY
|
||||
LOCAL_DELEGATED_PROPERTY name:test type:kotlin.Int flags:val
|
||||
VAR PROPERTY_DELEGATE name:test$delegate type:kotlin.Lazy<kotlin.Int> [val]
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.LazyKt.lazy>): kotlin.Lazy<T of kotlin.LazyKt.lazy> declared in kotlin.LazyKt' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.lazy>): kotlin.Lazy<T of kotlin.lazy> declared in kotlin' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
initializer: FUN_EXPR type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int
|
||||
@@ -45,7 +45,7 @@ FILE fqName:<root> fileName:/localDelegatedPropertiesWithAnnotations.kt
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR name:<get-test> visibility:local modality:FINAL <> () returnType:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <get-test> (): kotlin.Int declared in <root>.foo'
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.LazyKt.getValue declared in kotlin.LazyKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.getValue declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_VAR 'val test$delegate: kotlin.Lazy<kotlin.Int> declared in <root>.foo' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
thisRef: CONST Null type=kotlin.Nothing? value=null
|
||||
|
||||
Vendored
+2
-2
@@ -37,7 +37,7 @@ FILE fqName:<root> fileName:/localDelegatedPropertiesWithAnnotations.kt
|
||||
annotations:
|
||||
A(x = 'foo/test')
|
||||
VAR PROPERTY_DELEGATE name:test$delegate type:kotlin.Lazy<kotlin.Int> [val]
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.LazyKt.lazy>): kotlin.Lazy<T of kotlin.LazyKt.lazy> declared in kotlin.LazyKt' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.lazy>): kotlin.Lazy<T of kotlin.lazy> declared in kotlin' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
initializer: FUN_EXPR type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int
|
||||
@@ -47,7 +47,7 @@ FILE fqName:<root> fileName:/localDelegatedPropertiesWithAnnotations.kt
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR name:<get-test> visibility:local modality:FINAL <> () returnType:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <get-test> (): kotlin.Int declared in <root>.foo'
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.LazyKt.getValue declared in kotlin.LazyKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.getValue declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_VAR 'val test$delegate: kotlin.Lazy<kotlin.Int> declared in <root>.foo' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
thisRef: CONST Null type=kotlin.Nothing? value=null
|
||||
|
||||
Vendored
-2
@@ -1,6 +1,4 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
annotation class A(val x: String)
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ FILE fqName:<root> fileName:/classLevelProperties.kt
|
||||
PROPERTY name:test7 visibility:public modality:FINAL [delegated,val]
|
||||
FIELD PROPERTY_DELEGATE name:test7$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.LazyKt.lazy>): kotlin.Lazy<T of kotlin.LazyKt.lazy> declared in kotlin.LazyKt' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.lazy>): kotlin.Lazy<T of kotlin.lazy> declared in kotlin' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
initializer: FUN_EXPR type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int
|
||||
@@ -106,7 +106,7 @@ FILE fqName:<root> fileName:/classLevelProperties.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun <get-test7> (): kotlin.Int declared in <root>.C'
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.LazyKt.getValue declared in kotlin.LazyKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.getValue declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_FIELD 'FIELD PROPERTY_DELEGATE name:test7$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final]' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
receiver: GET_VAR '<this>: <root>.C declared in <root>.C.<get-test7>' type=<root>.C origin=null
|
||||
@@ -115,7 +115,7 @@ FILE fqName:<root> fileName:/classLevelProperties.kt
|
||||
PROPERTY name:test8 visibility:public modality:FINAL [delegated,var]
|
||||
FIELD PROPERTY_DELEGATE name:test8$delegate type:java.util.HashMap<kotlin.String, kotlin.Int> visibility:private [final]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun hashMapOf <K, V> (): java.util.HashMap<K of kotlin.collections.MapsKt.hashMapOf, V of kotlin.collections.MapsKt.hashMapOf> declared in kotlin.collections.MapsKt' type=java.util.HashMap<kotlin.String, kotlin.Int> origin=null
|
||||
CALL 'public final fun hashMapOf <K, V> (): java.util.HashMap<K of kotlin.collections.hashMapOf, V of kotlin.collections.hashMapOf> declared in kotlin.collections' type=java.util.HashMap<kotlin.String, kotlin.Int> origin=null
|
||||
<K>: kotlin.String
|
||||
<V>: kotlin.Int
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR name:<get-test8> visibility:public modality:FINAL <> ($this:<root>.C) returnType:kotlin.Int
|
||||
|
||||
@@ -94,7 +94,7 @@ FILE fqName:<root> fileName:/classLevelProperties.kt
|
||||
PROPERTY name:test7 visibility:public modality:FINAL [delegated,val]
|
||||
FIELD PROPERTY_DELEGATE name:test7$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.LazyKt.lazy>): kotlin.Lazy<T of kotlin.LazyKt.lazy> declared in kotlin.LazyKt' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.lazy>): kotlin.Lazy<T of kotlin.lazy> declared in kotlin' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
initializer: FUN_EXPR type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int
|
||||
@@ -106,7 +106,7 @@ FILE fqName:<root> fileName:/classLevelProperties.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun <get-test7> (): kotlin.Int declared in <root>.C'
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.LazyKt.getValue declared in kotlin.LazyKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.getValue declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_FIELD 'FIELD PROPERTY_DELEGATE name:test7$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final]' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
receiver: GET_VAR '<this>: <root>.C declared in <root>.C.<get-test7>' type=<root>.C origin=null
|
||||
@@ -115,7 +115,7 @@ FILE fqName:<root> fileName:/classLevelProperties.kt
|
||||
PROPERTY name:test8 visibility:public modality:FINAL [delegated,var]
|
||||
FIELD PROPERTY_DELEGATE name:test8$delegate type:java.util.HashMap<kotlin.String, kotlin.Int>{ kotlin.collections.HashMap<kotlin.String, kotlin.Int> } visibility:private [final]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun hashMapOf <K, V> (): java.util.HashMap<K of kotlin.collections.MapsKt.hashMapOf, V of kotlin.collections.MapsKt.hashMapOf>{ kotlin.collections.HashMap<K of kotlin.collections.MapsKt.hashMapOf, V of kotlin.collections.MapsKt.hashMapOf> } declared in kotlin.collections.MapsKt' type=java.util.HashMap<kotlin.String, kotlin.Int>{ kotlin.collections.HashMap<kotlin.String, kotlin.Int> } origin=null
|
||||
CALL 'public final fun hashMapOf <K, V> (): java.util.HashMap<K of kotlin.collections.hashMapOf, V of kotlin.collections.hashMapOf>{ kotlin.collections.HashMap<K of kotlin.collections.hashMapOf, V of kotlin.collections.hashMapOf> } declared in kotlin.collections' type=java.util.HashMap<kotlin.String, kotlin.Int>{ kotlin.collections.HashMap<kotlin.String, kotlin.Int> } origin=null
|
||||
<K>: kotlin.String
|
||||
<V>: kotlin.Int
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR name:<get-test8> visibility:public modality:FINAL <> ($this:<root>.C) returnType:kotlin.Int
|
||||
|
||||
Vendored
+1
-1
@@ -168,7 +168,7 @@ FILE fqName:<root> fileName:/arrayAccessCompositeOperators.kt
|
||||
VAR name:myContainer type:<root>.MyContainer [var]
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) declared in <root>.MyContainer' type=<root>.MyContainer origin=null
|
||||
i: CONST Int type=kotlin.Int value=0
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONST Int type=kotlin.Int value=1
|
||||
|
||||
Vendored
+1
-1
@@ -175,7 +175,7 @@ FILE fqName:<root> fileName:/arrayAccessCompositeOperators.kt
|
||||
VAR name:myContainer type:<root>.MyContainer [var]
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) declared in <root>.MyContainer' type=<root>.MyContainer origin=null
|
||||
i: CONST Int type=kotlin.Int value=0
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONST Int type=kotlin.Int value=1
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
data class MyContainer(var i: Int)
|
||||
|
||||
|
||||
Vendored
+30
@@ -5,6 +5,9 @@ var operationScore: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-operationScore>(){}kotlin.Int
|
||||
// Public signature: /operationScore.<get-operationScore>|7107010356269447258[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-operationScore>(){}
|
||||
// Public signature: /operationScore.<get-operationScore>|6765204501149451629[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: #<set-operationScore>(kotlin.Int){}
|
||||
@@ -22,6 +25,9 @@ data class MyContainer {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#<get-i>(){}kotlin.Int
|
||||
// Public signature: /MyContainer.i.<get-i>|-8784396159001927527[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#<get-i>(){}
|
||||
// Public signature: /MyContainer.i.<get-i>|6945482638966853621[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: MyContainer#<set-i>(kotlin.Int){}
|
||||
@@ -35,26 +41,41 @@ data class MyContainer {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#component1(){}kotlin.Int
|
||||
// Public signature: /MyContainer.component1|-8217597213800111288[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#component1(){}
|
||||
// Public signature: /MyContainer.component1|162597135895221648[0]
|
||||
operator fun component1(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#copy(kotlin.Int){}MyContainer
|
||||
// Public signature: /MyContainer.copy|-2712595066263545556[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#copy(kotlin.Int){}
|
||||
// Public signature: /MyContainer.copy|-6971662324481626298[0]
|
||||
fun copy(i: Int): MyContainer
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /MyContainer.equals|722809408929142791[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#equals(kotlin.Any?){}
|
||||
// Public signature: /MyContainer.equals|4638265728071529943[0]
|
||||
override operator fun equals(other: Any?): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#hashCode(){}kotlin.Int
|
||||
// Public signature: /MyContainer.hashCode|-8048879360829830756[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#hashCode(){}
|
||||
// Public signature: /MyContainer.hashCode|3409210261493131192[0]
|
||||
override fun hashCode(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#toString(){}kotlin.String
|
||||
// Public signature: /MyContainer.toString|6958853723545266802[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#toString(){}
|
||||
// Public signature: /MyContainer.toString|-1522858123163872138[0]
|
||||
override fun toString(): String
|
||||
|
||||
}
|
||||
@@ -62,16 +83,25 @@ data class MyContainer {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #get!kotlin.Int@MyContainer(kotlin.Int){}kotlin.Int
|
||||
// Public signature: /get|-3979760669169671321[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #get!kotlin.Int@MyContainer(kotlin.Int){}
|
||||
// Public signature: /get|1971890742879799630[0]
|
||||
operator fun MyContainer.get($context_receiver_0: Int, index: Int): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #inc!kotlin.Int@MyContainer(){}MyContainer
|
||||
// Public signature: /inc|-8228731243470619532[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #inc!kotlin.Int@MyContainer(){}
|
||||
// Public signature: /inc|-5486555486431504906[0]
|
||||
operator fun MyContainer.inc($context_receiver_0: Int): MyContainer
|
||||
|
||||
// CHECK:
|
||||
|
||||
+1
-1
@@ -150,7 +150,7 @@ FILE fqName:<root> fileName:/arrayAccessOperators.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.String origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: kotlin.String
|
||||
receiver: CONST Int type=kotlin.Int value=42
|
||||
|
||||
+1
-1
@@ -151,7 +151,7 @@ FILE fqName:<root> fileName:/arrayAccessOperators.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.String origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: kotlin.String
|
||||
receiver: CONST Int type=kotlin.Int value=42
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
data class MyContainer(var s: String)
|
||||
|
||||
|
||||
+24
@@ -9,6 +9,9 @@ data class MyContainer {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#<get-s>(){}kotlin.String
|
||||
// Public signature: /MyContainer.s.<get-s>|4142379646177092803[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#<get-s>(){}
|
||||
// Public signature: /MyContainer.s.<get-s>|-1662172381559511151[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: MyContainer#<set-s>(kotlin.String){}
|
||||
@@ -22,26 +25,41 @@ data class MyContainer {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#component1(){}kotlin.String
|
||||
// Public signature: /MyContainer.component1|-7481405593404337796[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#component1(){}
|
||||
// Public signature: /MyContainer.component1|162597135895221648[0]
|
||||
operator fun component1(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#copy(kotlin.String){}MyContainer
|
||||
// Public signature: /MyContainer.copy|-9194766205182052641[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#copy(kotlin.String){}
|
||||
// Public signature: /MyContainer.copy|-8298725480798151031[0]
|
||||
fun copy(s: String): MyContainer
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /MyContainer.equals|722809408929142791[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#equals(kotlin.Any?){}
|
||||
// Public signature: /MyContainer.equals|4638265728071529943[0]
|
||||
override operator fun equals(other: Any?): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#hashCode(){}kotlin.Int
|
||||
// Public signature: /MyContainer.hashCode|-8048879360829830756[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#hashCode(){}
|
||||
// Public signature: /MyContainer.hashCode|3409210261493131192[0]
|
||||
override fun hashCode(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#toString(){}kotlin.String
|
||||
// Public signature: /MyContainer.toString|6958853723545266802[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#toString(){}
|
||||
// Public signature: /MyContainer.toString|-1522858123163872138[0]
|
||||
override fun toString(): String
|
||||
|
||||
}
|
||||
@@ -49,11 +67,17 @@ data class MyContainer {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #get!kotlin.Int@MyContainer(kotlin.Int){}kotlin.String?
|
||||
// Public signature: /get|-262764729710480185[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #get!kotlin.Int@MyContainer(kotlin.Int){}
|
||||
// Public signature: /get|1971890742879799630[0]
|
||||
operator fun MyContainer.get($context_receiver_0: Int, index: Int): String?
|
||||
|
||||
// CHECK:
|
||||
|
||||
@@ -65,7 +65,7 @@ FILE fqName:<root> fileName:/class.kt
|
||||
VALUE_PARAMETER name:outer index:0 type:<root>.Outer
|
||||
BLOCK_BODY
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=<root>.Inner origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=<root>.Inner origin=null
|
||||
<T>: <root>.Outer
|
||||
<R>: <root>.Inner
|
||||
receiver: GET_VAR 'outer: <root>.Outer declared in <root>.f' type=<root>.Outer origin=null
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// DUMP_LOCAL_DECLARATION_SIGNATURES
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: ANY
|
||||
// ^ KT-57428
|
||||
|
||||
+12
-1
@@ -6,14 +6,20 @@ class Inner {
|
||||
// Mangled name: Inner#<init>!Outer(kotlin.Any){}
|
||||
// Public signature: /Inner.<init>|7428094623108856579[0]
|
||||
constructor($context_receiver_0: Outer, arg: Any) /* primary */
|
||||
// CHECK:
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: Inner.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: Inner{}contextReceiverField0#jf
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name computed from Ir: Inner.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: Inner{}contextReceiverField0
|
||||
private /* final field */ val contextReceiverField0: Outer
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Inner#bar(){}kotlin.Int
|
||||
// Public signature: /Inner.bar|-6436649210114349217[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Inner#bar(){}
|
||||
// Public signature: /Inner.bar|496682602797471549[0]
|
||||
fun bar(): Int
|
||||
|
||||
}
|
||||
@@ -30,6 +36,9 @@ class Outer {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Outer#<get-x>(){}kotlin.Int
|
||||
// Public signature: /Outer.x.<get-x>|4966956098150895696[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Outer#<get-x>(){}
|
||||
// Public signature: /Outer.x.<get-x>|1482705010654679335[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -45,5 +54,7 @@ class Outer {
|
||||
fun f(outer: Outer): Unit
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #f(Outer){}#<anonymous>#static@Outer(){}Inner
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #f(Outer){}#<anonymous>#static@Outer(){}
|
||||
local fun Outer.<anonymous>(): Inner
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -251,7 +251,7 @@ FILE fqName:<root> fileName:/compoundAssignmentOperators.kt
|
||||
VAR name:result type:<root>.Result [val]
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) declared in <root>.Result' type=<root>.Result origin=null
|
||||
i: CONST Int type=kotlin.Int value=0
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONST Int type=kotlin.Int value=1
|
||||
|
||||
Vendored
+1
-1
@@ -272,7 +272,7 @@ FILE fqName:<root> fileName:/compoundAssignmentOperators.kt
|
||||
VAR name:result type:<root>.Result [val]
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) declared in <root>.Result' type=<root>.Result origin=null
|
||||
i: CONST Int type=kotlin.Int value=0
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONST Int type=kotlin.Int value=1
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
data class Result(var i: Int)
|
||||
|
||||
|
||||
Vendored
+36
@@ -5,6 +5,9 @@ var operationScore: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-operationScore>(){}kotlin.Int
|
||||
// Public signature: /operationScore.<get-operationScore>|7107010356269447258[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-operationScore>(){}
|
||||
// Public signature: /operationScore.<get-operationScore>|6765204501149451629[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: #<set-operationScore>(kotlin.Int){}
|
||||
@@ -22,6 +25,9 @@ data class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#<get-i>(){}kotlin.Int
|
||||
// Public signature: /Result.i.<get-i>|-8784396159001927527[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#<get-i>(){}
|
||||
// Public signature: /Result.i.<get-i>|6945482638966853621[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: Result#<set-i>(kotlin.Int){}
|
||||
@@ -35,26 +41,41 @@ data class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#component1(){}kotlin.Int
|
||||
// Public signature: /Result.component1|-8217597213800111288[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#component1(){}
|
||||
// Public signature: /Result.component1|162597135895221648[0]
|
||||
operator fun component1(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#copy(kotlin.Int){}Result
|
||||
// Public signature: /Result.copy|5439238034196076859[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#copy(kotlin.Int){}
|
||||
// Public signature: /Result.copy|-6971662324481626298[0]
|
||||
fun copy(i: Int): Result
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /Result.equals|722809408929142791[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#equals(kotlin.Any?){}
|
||||
// Public signature: /Result.equals|4638265728071529943[0]
|
||||
override operator fun equals(other: Any?): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#hashCode(){}kotlin.Int
|
||||
// Public signature: /Result.hashCode|-8048879360829830756[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#hashCode(){}
|
||||
// Public signature: /Result.hashCode|3409210261493131192[0]
|
||||
override fun hashCode(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#toString(){}kotlin.String
|
||||
// Public signature: /Result.toString|6958853723545266802[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#toString(){}
|
||||
// Public signature: /Result.toString|-1522858123163872138[0]
|
||||
override fun toString(): String
|
||||
|
||||
}
|
||||
@@ -62,11 +83,17 @@ data class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #div!kotlin.Int@Result(Result){}Result
|
||||
// Public signature: /div|4720798164978030724[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #div!kotlin.Int@Result(Result){}
|
||||
// Public signature: /div|-6612286148996821840[0]
|
||||
operator fun Result.div($context_receiver_0: Int, other: Result): Result
|
||||
|
||||
// CHECK:
|
||||
@@ -77,6 +104,9 @@ operator fun Result.divAssign($context_receiver_0: Int, other: Result): Unit
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #minus!kotlin.Int@Result(Result){}Result
|
||||
// Public signature: /minus|3968749932240310139[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #minus!kotlin.Int@Result(Result){}
|
||||
// Public signature: /minus|7405496643337842736[0]
|
||||
operator fun Result.minus($context_receiver_0: Int, other: Result): Result
|
||||
|
||||
// CHECK:
|
||||
@@ -87,6 +117,9 @@ operator fun Result.minusAssign($context_receiver_0: Int, other: Result): Unit
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #plus!kotlin.Int@Result(Result){}Result
|
||||
// Public signature: /plus|4903222358721452198[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #plus!kotlin.Int@Result(Result){}
|
||||
// Public signature: /plus|-114755674860389360[0]
|
||||
operator fun Result.plus($context_receiver_0: Int, other: Result): Result
|
||||
|
||||
// CHECK:
|
||||
@@ -97,6 +130,9 @@ operator fun Result.plusAssign($context_receiver_0: Int, other: Result): Unit
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #times!kotlin.Int@Result(Result){}Result
|
||||
// Public signature: /times|3621876074874527655[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #times!kotlin.Int@Result(Result){}
|
||||
// Public signature: /times|690380606170453948[0]
|
||||
operator fun Result.times($context_receiver_0: Int, other: Result): Result
|
||||
|
||||
// CHECK:
|
||||
|
||||
+2
-2
@@ -135,7 +135,7 @@ FILE fqName:<root> fileName:/contextualInlineCall.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Nothing origin=null
|
||||
<T>: <root>.Context
|
||||
<R>: kotlin.Nothing
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Context' type=<root>.Context origin=null
|
||||
@@ -171,7 +171,7 @@ FILE fqName:<root> fileName:/contextualInlineCall.kt
|
||||
$context_receiver_0: GET_VAR '$this$with: <root>.Context declared in <root>.box.<anonymous>' type=<root>.Context origin=null
|
||||
i1: CONST Int type=kotlin.Int value=1
|
||||
i2: CONST Int type=kotlin.Int value=2
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.A
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> (a: kotlin.Any?) declared in <root>.A' type=<root>.A origin=null
|
||||
|
||||
+2
-2
@@ -135,7 +135,7 @@ FILE fqName:<root> fileName:/contextualInlineCall.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Nothing origin=null
|
||||
<T>: <root>.Context
|
||||
<R>: kotlin.Nothing
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Context' type=<root>.Context origin=null
|
||||
@@ -171,7 +171,7 @@ FILE fqName:<root> fileName:/contextualInlineCall.kt
|
||||
$context_receiver_0: GET_VAR '$this$with: <root>.Context declared in <root>.box.<anonymous>' type=<root>.Context origin=null
|
||||
i1: CONST Int type=kotlin.Int value=1
|
||||
i2: CONST Int type=kotlin.Int value=2
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.A
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> (a: kotlin.Any?) declared in <root>.A' type=<root>.A origin=null
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
class Context {
|
||||
fun c() = 1
|
||||
|
||||
+24
@@ -9,6 +9,9 @@ class A {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#<get-a>(){}kotlin.Any?
|
||||
// Public signature: /A.a.<get-a>|-5253003527138676623[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#<get-a>(){}
|
||||
// Public signature: /A.a.<get-a>|6785176174175479410[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -30,6 +33,9 @@ class Context {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Context#c(){}kotlin.Int
|
||||
// Public signature: /Context.c|-7090409735962961857[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Context#c(){}
|
||||
// Public signature: /Context.c|-2724918380551733646[0]
|
||||
fun c(): Int
|
||||
|
||||
}
|
||||
@@ -37,30 +43,48 @@ class Context {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testInline!Context(){}kotlin.Int
|
||||
// Public signature: /testInline|2700554304824268037[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInline!Context(){}
|
||||
// Public signature: /testInline|-4531301230787846989[0]
|
||||
inline fun testInline($context_receiver_0: Context): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testInlineWithArg!Context(kotlin.Int){}kotlin.Int
|
||||
// Public signature: /testInlineWithArg|9204994988875814257[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInlineWithArg!Context(kotlin.Int){}
|
||||
// Public signature: /testInlineWithArg|-6441098303310197415[0]
|
||||
inline fun testInlineWithArg($context_receiver_0: Context, i: Int): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testInlineWithExtensionAndArg!Context@kotlin.Int(kotlin.Int){}kotlin.Int
|
||||
// Public signature: /testInlineWithExtensionAndArg|-7753885706218316674[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInlineWithExtensionAndArg!Context@kotlin.Int(kotlin.Int){}
|
||||
// Public signature: /testInlineWithExtensionAndArg|642168423595809182[0]
|
||||
inline fun Int.testInlineWithExtensionAndArg($context_receiver_0: Context, i: Int): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testInlineWithExtensionAndMultipleArgs!Context@kotlin.Int(kotlin.Int;kotlin.Int){}kotlin.Int
|
||||
// Public signature: /testInlineWithExtensionAndMultipleArgs|6839067967550411636[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInlineWithExtensionAndMultipleArgs!Context@kotlin.Int(kotlin.Int;kotlin.Int){}
|
||||
// Public signature: /testInlineWithExtensionAndMultipleArgs|2396628518140949199[0]
|
||||
inline fun Int.testInlineWithExtensionAndMultipleArgs($context_receiver_0: Context, i1: Int, i2: Int): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testInlineWithExtensionAndMultipleContextsAndArgs!Context!A@kotlin.Int(kotlin.Int;kotlin.Int){}kotlin.Int
|
||||
// Public signature: /testInlineWithExtensionAndMultipleContextsAndArgs|4315160499148454711[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInlineWithExtensionAndMultipleContextsAndArgs!Context!A@kotlin.Int(kotlin.Int;kotlin.Int){}
|
||||
// Public signature: /testInlineWithExtensionAndMultipleContextsAndArgs|-8262798201429708713[0]
|
||||
inline fun Int.testInlineWithExtensionAndMultipleContextsAndArgs($context_receiver_0: Context, $context_receiver_1: A, i1: Int, i2: Int): Int
|
||||
|
||||
|
||||
+1
-1
@@ -85,7 +85,7 @@ FILE fqName:<root> fileName:/contextualPrimaryConstructorWithParams.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.String origin=null
|
||||
<T>: <root>.O
|
||||
<R>: kotlin.String
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> (o: kotlin.String) declared in <root>.O' type=<root>.O origin=null
|
||||
|
||||
Vendored
-2
@@ -1,8 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// DUMP_LOCAL_DECLARATION_SIGNATURES
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: ANY
|
||||
// ^ KT-57428
|
||||
|
||||
+18
-1
@@ -10,6 +10,9 @@ class O {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: O#<get-o>(){}kotlin.String
|
||||
// Public signature: /O.o.<get-o>|2606027183154875572[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: O#<get-o>(){}
|
||||
// Public signature: /O.o.<get-o>|-5005637647237604760[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -31,6 +34,9 @@ class OK {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: OK#<get-k>(){}kotlin.String
|
||||
// Public signature: /OK.k.<get-k>|-8248201737917988340[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: OK#<get-k>(){}
|
||||
// Public signature: /OK.k.<get-k>|2619553883593572199[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -41,15 +47,21 @@ class OK {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: OK#<get-result>(){}kotlin.String
|
||||
// Public signature: /OK.result.<get-result>|8441547134620975366[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: OK#<get-result>(){}
|
||||
// Public signature: /OK.result.<get-result>|7945192536455394063[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: OK#<init>!O(kotlin.String){}
|
||||
// Public signature: /OK.<init>|-804847331171011326[0]
|
||||
constructor($context_receiver_0: O, k: String) /* primary */
|
||||
// CHECK:
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: OK.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: OK{}contextReceiverField0#jf
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name computed from Ir: OK.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: OK{}contextReceiverField0
|
||||
private /* final field */ val contextReceiverField0: O
|
||||
|
||||
}
|
||||
@@ -57,8 +69,13 @@ class OK {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String#<anonymous>#static@O(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}#<anonymous>#static@O(){}
|
||||
local fun O.<anonymous>(): String
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -137,7 +137,7 @@ FILE fqName:<root> fileName:/delegatedPropertiesOperators.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
VAR name:result type:<root>.Result [val]
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=<root>.Result origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=<root>.Result origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: <root>.Result
|
||||
receiver: CONST Int type=kotlin.Int value=1
|
||||
|
||||
Vendored
+1
-1
@@ -140,7 +140,7 @@ FILE fqName:<root> fileName:/delegatedPropertiesOperators.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
VAR name:result type:<root>.Result [val]
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=<root>.Result origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=<root>.Result origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: <root>.Result
|
||||
receiver: CONST Int type=kotlin.Int value=1
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WITH_STDLIB
|
||||
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
Vendored
+19
-1
@@ -5,6 +5,9 @@ var operationScore: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-operationScore>(){}kotlin.Int
|
||||
// Public signature: /operationScore.<get-operationScore>|7107010356269447258[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-operationScore>(){}
|
||||
// Public signature: /operationScore.<get-operationScore>|6765204501149451629[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: #<set-operationScore>(kotlin.Int){}
|
||||
@@ -22,6 +25,9 @@ class Delegate {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Delegate#<get-delegateValue>(){}kotlin.String
|
||||
// Public signature: /Delegate.delegateValue.<get-delegateValue>|-8802990183041924458[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Delegate#<get-delegateValue>(){}
|
||||
// Public signature: /Delegate.delegateValue.<get-delegateValue>|442512873020605275[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: Delegate#<set-delegateValue>(kotlin.String){}
|
||||
@@ -36,6 +42,9 @@ class Delegate {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Delegate#getValue!kotlin.Int(kotlin.Any?;kotlin.reflect.KProperty<*>){}kotlin.String
|
||||
// Public signature: /Delegate.getValue|-7764345795816801347[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Delegate#getValue!kotlin.Int(kotlin.Any?;kotlin.reflect.KProperty<*>){}
|
||||
// Public signature: /Delegate.getValue|-415138418502969483[0]
|
||||
operator fun getValue($context_receiver_0: Int, thisRef: Any?, property: KProperty<*>): String
|
||||
|
||||
// CHECK:
|
||||
@@ -56,6 +65,9 @@ class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#<get-s>(){}kotlin.String
|
||||
// Public signature: /Result.s.<get-s>|4142379646177092803[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#<get-s>(){}
|
||||
// Public signature: /Result.s.<get-s>|-1662172381559511151[0]
|
||||
get(): String
|
||||
// CHECK:
|
||||
// Mangled name: Result#<set-s>(kotlin.String){}
|
||||
@@ -66,9 +78,12 @@ class Result {
|
||||
// Mangled name: Result#<init>!kotlin.Int(){}
|
||||
// Public signature: /Result.<init>|-1392650824251324893[0]
|
||||
constructor($context_receiver_0: Int) /* primary */
|
||||
// CHECK:
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: Result.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: Result{}contextReceiverField0#jf
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name computed from Ir: Result.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: Result{}contextReceiverField0
|
||||
private /* final field */ val contextReceiverField0: Int
|
||||
|
||||
}
|
||||
@@ -76,5 +91,8 @@ class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
|
||||
+1
-1
@@ -105,7 +105,7 @@ FILE fqName:<root> fileName:/canvas.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.String origin=null
|
||||
<T>: <root>.MyCanvas
|
||||
<R>: kotlin.String
|
||||
receiver: GET_OBJECT 'CLASS OBJECT name:MyCanvas modality:FINAL visibility:public superTypes:[<root>.Canvas]' type=<root>.MyCanvas
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
interface Canvas {
|
||||
val suffix: String
|
||||
|
||||
+15
@@ -10,6 +10,9 @@ class Circle : Shape {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Circle#draw!Canvas(){}kotlin.String
|
||||
// Public signature: /Circle.draw|-6733499063990640842[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Circle#draw!Canvas(){}
|
||||
// Public signature: /Circle.draw|4876755509620013985[0]
|
||||
override fun draw($context_receiver_0: Canvas): String
|
||||
|
||||
}
|
||||
@@ -26,6 +29,9 @@ interface Canvas {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Canvas#<get-suffix>(){}kotlin.String
|
||||
// Public signature: /Canvas.suffix.<get-suffix>|8958072538558116778[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Canvas#<get-suffix>(){}
|
||||
// Public signature: /Canvas.suffix.<get-suffix>|-7634976832113083262[0]
|
||||
abstract get
|
||||
|
||||
}
|
||||
@@ -38,6 +44,9 @@ interface Shape {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Shape#draw!Canvas(){}kotlin.String
|
||||
// Public signature: /Shape.draw|-6733499063990640842[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Shape#draw!Canvas(){}
|
||||
// Public signature: /Shape.draw|4876755509620013985[0]
|
||||
abstract fun draw($context_receiver_0: Canvas): String
|
||||
|
||||
}
|
||||
@@ -53,6 +62,9 @@ object MyCanvas : Canvas {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyCanvas#<get-suffix>(){}kotlin.String
|
||||
// Public signature: /MyCanvas.suffix.<get-suffix>|8958072538558116778[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyCanvas#<get-suffix>(){}
|
||||
// Public signature: /MyCanvas.suffix.<get-suffix>|-7634976832113083262[0]
|
||||
override get
|
||||
|
||||
// CHECK:
|
||||
@@ -65,5 +77,8 @@ object MyCanvas : Canvas {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
|
||||
+1
-1
@@ -225,7 +225,7 @@ FILE fqName:<root> fileName:/compareTo.kt
|
||||
other: CALL 'public open fun <get-length> (): kotlin.Int declared in kotlin.String' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'b: @[FlexibleNullability] kotlin.String? declared in <root>.box.<anonymous>' type=@[FlexibleNullability] kotlin.String? origin=null
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.String origin=null
|
||||
<T>: java.util.Comparator<kotlin.String>
|
||||
<R>: kotlin.String
|
||||
receiver: GET_VAR 'val comparator: java.util.Comparator<kotlin.String> declared in <root>.box' type=java.util.Comparator<kotlin.String> origin=null
|
||||
|
||||
+1
-1
@@ -229,7 +229,7 @@ FILE fqName:<root> fileName:/compareTo.kt
|
||||
$this: TYPE_OP type=kotlin.String origin=IMPLICIT_NOTNULL typeOperand=kotlin.String
|
||||
GET_VAR 'b: @[FlexibleNullability] kotlin.String? declared in <root>.box.<anonymous>' type=@[FlexibleNullability] kotlin.String? origin=null
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.String origin=null
|
||||
<T>: java.util.Comparator<kotlin.String>
|
||||
<R>: kotlin.String
|
||||
receiver: GET_VAR 'val comparator: java.util.Comparator<kotlin.String> declared in <root>.box' type=java.util.Comparator<kotlin.String> origin=null
|
||||
|
||||
+4
-4
@@ -43,7 +43,7 @@ FILE fqName:<root> fileName:/dp.kt
|
||||
other: GET_VAR '<this>: kotlin.Int declared in <root>.<get-dp>' type=kotlin.Int origin=null
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Nothing origin=null
|
||||
<T>: <root>.View
|
||||
<R>: kotlin.Nothing
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.View' type=<root>.View origin=null
|
||||
@@ -54,10 +54,10 @@ FILE fqName:<root> fileName:/dp.kt
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.map, R of kotlin.collections.CollectionsKt.map>): kotlin.collections.List<R of kotlin.collections.CollectionsKt.map> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
arg0: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: kotlin.Int
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List<T of kotlin.collections.CollectionsKt.listOf> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.listOf): kotlin.collections.List<T of kotlin.collections.listOf> declared in kotlin.collections' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
elements: VARARG type=kotlin.Array<out kotlin.Int> varargElementType=kotlin.Int
|
||||
CONST Int type=kotlin.Int value=1
|
||||
@@ -71,7 +71,7 @@ FILE fqName:<root> fileName:/dp.kt
|
||||
CALL 'public final fun <get-dp> ($context_receiver_0: <root>.View): kotlin.Int declared in <root>' type=kotlin.Int origin=GET_PROPERTY
|
||||
$receiver: GET_VAR 'it: kotlin.Int declared in <root>.box.<anonymous>.<anonymous>' type=kotlin.Int origin=null
|
||||
$context_receiver_0: GET_VAR '$this$with: <root>.View declared in <root>.box.<anonymous>' type=<root>.View origin=null
|
||||
arg1: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List<T of kotlin.collections.CollectionsKt.listOf> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
arg1: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.listOf): kotlin.collections.List<T of kotlin.collections.listOf> declared in kotlin.collections' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
elements: VARARG type=kotlin.Array<out kotlin.Int> varargElementType=kotlin.Int
|
||||
CONST Int type=kotlin.Int value=42
|
||||
|
||||
+4
-4
@@ -43,7 +43,7 @@ FILE fqName:<root> fileName:/dp.kt
|
||||
other: GET_VAR '<this>: kotlin.Int declared in <root>.<get-dp>' type=kotlin.Int origin=null
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Nothing origin=null
|
||||
<T>: <root>.View
|
||||
<R>: kotlin.Nothing
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.View' type=<root>.View origin=null
|
||||
@@ -54,10 +54,10 @@ FILE fqName:<root> fileName:/dp.kt
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.CollectionsKt.map, R of kotlin.collections.CollectionsKt.map>): kotlin.collections.List<R of kotlin.collections.CollectionsKt.map> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
arg0: CALL 'public final fun map <T, R> (transform: kotlin.Function1<T of kotlin.collections.map, R of kotlin.collections.map>): kotlin.collections.List<R of kotlin.collections.map> declared in kotlin.collections' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: kotlin.Int
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List<T of kotlin.collections.CollectionsKt.listOf> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.listOf): kotlin.collections.List<T of kotlin.collections.listOf> declared in kotlin.collections' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
elements: VARARG type=kotlin.Array<out kotlin.Int> varargElementType=kotlin.Int
|
||||
CONST Int type=kotlin.Int value=1
|
||||
@@ -71,7 +71,7 @@ FILE fqName:<root> fileName:/dp.kt
|
||||
CALL 'public final fun <get-dp> ($context_receiver_0: <root>.View): kotlin.Int declared in <root>' type=kotlin.Int origin=GET_PROPERTY
|
||||
$receiver: GET_VAR 'it: kotlin.Int declared in <root>.box.<anonymous>.<anonymous>' type=kotlin.Int origin=null
|
||||
$context_receiver_0: GET_VAR '$this$with: <root>.View declared in <root>.box.<anonymous>' type=<root>.View origin=null
|
||||
arg1: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List<T of kotlin.collections.CollectionsKt.listOf> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
arg1: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.listOf): kotlin.collections.List<T of kotlin.collections.listOf> declared in kotlin.collections' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
elements: VARARG type=kotlin.Array<out kotlin.Int> varargElementType=kotlin.Int
|
||||
CONST Int type=kotlin.Int value=42
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WITH_STDLIB
|
||||
class View {
|
||||
val coefficient = 42
|
||||
|
||||
+9
@@ -9,6 +9,9 @@ class View {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: View#<get-coefficient>(){}kotlin.Int
|
||||
// Public signature: /View.coefficient.<get-coefficient>|2286291581442465794[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: View#<get-coefficient>(){}
|
||||
// Public signature: /View.coefficient.<get-coefficient>|5285326162631504309[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -21,6 +24,9 @@ class View {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
// CHECK:
|
||||
@@ -30,5 +36,8 @@ val Int.dp: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-dp>!View@kotlin.Int(){}kotlin.Int
|
||||
// Public signature: /dp.<get-dp>|933397372434095199[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-dp>!View@kotlin.Int(){}
|
||||
// Public signature: /dp.<get-dp>|-92585254995500394[0]
|
||||
get($context_receiver_0: View): Int
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -94,7 +94,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.String origin=null
|
||||
<T>: <root>.O
|
||||
<R>: kotlin.String
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.O' type=<root>.O origin=null
|
||||
|
||||
+1
-1
@@ -94,7 +94,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.String origin=null
|
||||
<T>: <root>.O
|
||||
<R>: kotlin.String
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.O' type=<root>.O origin=null
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
class Param
|
||||
class O {
|
||||
|
||||
Vendored
+12
@@ -9,6 +9,9 @@ class K {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: K#<get-k>(){}kotlin.String
|
||||
// Public signature: /K.k.<get-k>|-8248201737917988340[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: K#<get-k>(){}
|
||||
// Public signature: /K.k.<get-k>|2619553883593572199[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -29,6 +32,9 @@ class O {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: O#<get-o>(){}kotlin.String
|
||||
// Public signature: /O.o.<get-o>|2606027183154875572[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: O#<get-o>(){}
|
||||
// Public signature: /O.o.<get-o>|-5005637647237604760[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -52,10 +58,16 @@ class Param {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #f!O@K(kotlin.Function3<O,K,Param,0:0>){0§<kotlin.Any?>}0:0
|
||||
// Public signature: /f|-7653040485655702379[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #f!O@K(kotlin.Function3<O,K,Param,0:0>){0§<kotlin.Any?>}
|
||||
// Public signature: /f|6244942347355309773[0]
|
||||
fun <T : Any?> K.f($context_receiver_0: O, g: @ExtensionFunctionType Function3<O, K, Param, T>): T
|
||||
|
||||
|
||||
+5
-5
@@ -142,7 +142,7 @@ FILE fqName:<root> fileName:/monoidSum.kt
|
||||
VALUE_PARAMETER name:$context_receiver_0 index:0 type:<root>.Monoid<T of <root>.sum>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun sum <T> ($context_receiver_0: <root>.Monoid<T of <root>.sum>): T of <root>.sum declared in <root>'
|
||||
CALL 'public final fun fold <T, R> (initial: R of kotlin.collections.CollectionsKt.fold, operation: kotlin.Function2<R of kotlin.collections.CollectionsKt.fold, T of kotlin.collections.CollectionsKt.fold, R of kotlin.collections.CollectionsKt.fold>): R of kotlin.collections.CollectionsKt.fold declared in kotlin.collections.CollectionsKt' type=T of <root>.sum origin=null
|
||||
CALL 'public final fun fold <T, R> (initial: R of kotlin.collections.fold, operation: kotlin.Function2<R of kotlin.collections.fold, T of kotlin.collections.fold, R of kotlin.collections.fold>): R of kotlin.collections.fold declared in kotlin.collections' type=T of <root>.sum origin=null
|
||||
<T>: T of <root>.sum
|
||||
<R>: T of <root>.sum
|
||||
$receiver: GET_VAR '<this>: kotlin.collections.List<T of <root>.sum> declared in <root>.sum' type=kotlin.collections.List<T of <root>.sum> origin=null
|
||||
@@ -161,7 +161,7 @@ FILE fqName:<root> fileName:/monoidSum.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: <root>.IntMonoid
|
||||
<R>: kotlin.Int
|
||||
receiver: GET_OBJECT 'CLASS OBJECT name:IntMonoid modality:FINAL visibility:public superTypes:[<root>.Monoid<kotlin.Int>]' type=<root>.IntMonoid
|
||||
@@ -172,7 +172,7 @@ FILE fqName:<root> fileName:/monoidSum.kt
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (): kotlin.Int declared in <root>.box'
|
||||
CALL 'public final fun sum <T> ($context_receiver_0: <root>.Monoid<T of <root>.sum>): T of <root>.sum declared in <root>' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List<T of kotlin.collections.CollectionsKt.listOf> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.listOf): kotlin.collections.List<T of kotlin.collections.listOf> declared in kotlin.collections' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
elements: VARARG type=kotlin.Array<out kotlin.Int> varargElementType=kotlin.Int
|
||||
CONST Int type=kotlin.Int value=1
|
||||
@@ -180,7 +180,7 @@ FILE fqName:<root> fileName:/monoidSum.kt
|
||||
CONST Int type=kotlin.Int value=3
|
||||
$context_receiver_0: GET_VAR '$this$with: <root>.IntMonoid declared in <root>.box.<anonymous>' type=<root>.IntMonoid origin=null
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.String origin=null
|
||||
<T>: <root>.StringMonoid
|
||||
<R>: kotlin.String
|
||||
receiver: GET_OBJECT 'CLASS OBJECT name:StringMonoid modality:FINAL visibility:public superTypes:[<root>.Monoid<kotlin.String>]' type=<root>.StringMonoid
|
||||
@@ -191,7 +191,7 @@ FILE fqName:<root> fileName:/monoidSum.kt
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (): kotlin.String declared in <root>.box'
|
||||
CALL 'public final fun sum <T> ($context_receiver_0: <root>.Monoid<T of <root>.sum>): T of <root>.sum declared in <root>' type=kotlin.String origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List<T of kotlin.collections.CollectionsKt.listOf> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.listOf): kotlin.collections.List<T of kotlin.collections.listOf> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
elements: VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="O"
|
||||
|
||||
+5
-5
@@ -142,7 +142,7 @@ FILE fqName:<root> fileName:/monoidSum.kt
|
||||
VALUE_PARAMETER name:$context_receiver_0 index:0 type:<root>.Monoid<T of <root>.sum>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun sum <T> ($context_receiver_0: <root>.Monoid<T of <root>.sum>): T of <root>.sum declared in <root>'
|
||||
CALL 'public final fun fold <T, R> (initial: R of kotlin.collections.CollectionsKt.fold, operation: kotlin.Function2<@[ParameterName(name = 'acc')] R of kotlin.collections.CollectionsKt.fold, T of kotlin.collections.CollectionsKt.fold, R of kotlin.collections.CollectionsKt.fold>): R of kotlin.collections.CollectionsKt.fold declared in kotlin.collections.CollectionsKt' type=T of <root>.sum origin=null
|
||||
CALL 'public final fun fold <T, R> (initial: R of kotlin.collections.fold, operation: kotlin.Function2<@[ParameterName(name = 'acc')] R of kotlin.collections.fold, T of kotlin.collections.fold, R of kotlin.collections.fold>): R of kotlin.collections.fold declared in kotlin.collections' type=T of <root>.sum origin=null
|
||||
<T>: T of <root>.sum
|
||||
<R>: T of <root>.sum
|
||||
$receiver: GET_VAR '<this>: kotlin.collections.List<T of <root>.sum> declared in <root>.sum' type=kotlin.collections.List<T of <root>.sum> origin=null
|
||||
@@ -161,7 +161,7 @@ FILE fqName:<root> fileName:/monoidSum.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: <root>.IntMonoid
|
||||
<R>: kotlin.Int
|
||||
receiver: GET_OBJECT 'CLASS OBJECT name:IntMonoid modality:FINAL visibility:public superTypes:[<root>.Monoid<kotlin.Int>]' type=<root>.IntMonoid
|
||||
@@ -172,7 +172,7 @@ FILE fqName:<root> fileName:/monoidSum.kt
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (): kotlin.Int declared in <root>.box'
|
||||
CALL 'public final fun sum <T> ($context_receiver_0: <root>.Monoid<T of <root>.sum>): T of <root>.sum declared in <root>' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List<T of kotlin.collections.CollectionsKt.listOf> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.listOf): kotlin.collections.List<T of kotlin.collections.listOf> declared in kotlin.collections' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
elements: VARARG type=kotlin.Array<out kotlin.Int> varargElementType=kotlin.Int
|
||||
CONST Int type=kotlin.Int value=1
|
||||
@@ -180,7 +180,7 @@ FILE fqName:<root> fileName:/monoidSum.kt
|
||||
CONST Int type=kotlin.Int value=3
|
||||
$context_receiver_0: GET_VAR '$this$with: <root>.IntMonoid declared in <root>.box.<anonymous>' type=<root>.IntMonoid origin=null
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.String origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.String origin=null
|
||||
<T>: <root>.StringMonoid
|
||||
<R>: kotlin.String
|
||||
receiver: GET_OBJECT 'CLASS OBJECT name:StringMonoid modality:FINAL visibility:public superTypes:[<root>.Monoid<kotlin.String>]' type=<root>.StringMonoid
|
||||
@@ -191,7 +191,7 @@ FILE fqName:<root> fileName:/monoidSum.kt
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (): kotlin.String declared in <root>.box'
|
||||
CALL 'public final fun sum <T> ($context_receiver_0: <root>.Monoid<T of <root>.sum>): T of <root>.sum declared in <root>' type=kotlin.String origin=null
|
||||
<T>: kotlin.String
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List<T of kotlin.collections.CollectionsKt.listOf> declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
$receiver: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.listOf): kotlin.collections.List<T of kotlin.collections.listOf> declared in kotlin.collections' type=kotlin.collections.List<kotlin.String> origin=null
|
||||
<T>: kotlin.String
|
||||
elements: VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="O"
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WITH_STDLIB
|
||||
interface Semigroup<T> {
|
||||
infix fun T.combine(other: T): T
|
||||
|
||||
+27
@@ -5,6 +5,9 @@ interface Monoid<T : Any?> : Semigroup<T> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Monoid#combine@1:0(1:0){}1:0
|
||||
// Public signature: /Monoid.combine|-3517256775590682507[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Monoid#combine@1:0(1:0){}
|
||||
// Public signature: /Monoid.combine|8412967464389689937[0]
|
||||
abstract /* fake */ override infix fun T.combine(other: T): T
|
||||
|
||||
// CHECK:
|
||||
@@ -14,6 +17,9 @@ interface Monoid<T : Any?> : Semigroup<T> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Monoid#<get-unit>(){}1:0
|
||||
// Public signature: /Monoid.unit.<get-unit>|-2842189358620964971[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Monoid#<get-unit>(){}
|
||||
// Public signature: /Monoid.unit.<get-unit>|1530864625432111105[0]
|
||||
abstract get
|
||||
|
||||
}
|
||||
@@ -26,6 +32,9 @@ interface Semigroup<T : Any?> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Semigroup#combine@1:0(1:0){}1:0
|
||||
// Public signature: /Semigroup.combine|-3517256775590682507[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Semigroup#combine@1:0(1:0){}
|
||||
// Public signature: /Semigroup.combine|8412967464389689937[0]
|
||||
abstract infix fun T.combine(other: T): T
|
||||
|
||||
}
|
||||
@@ -41,6 +50,9 @@ object IntMonoid : Monoid<Int> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: IntMonoid#<get-unit>(){}kotlin.Int
|
||||
// Public signature: /IntMonoid.unit.<get-unit>|3772729924213749256[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: IntMonoid#<get-unit>(){}
|
||||
// Public signature: /IntMonoid.unit.<get-unit>|1530864625432111105[0]
|
||||
override get
|
||||
|
||||
// CHECK:
|
||||
@@ -51,6 +63,9 @@ object IntMonoid : Monoid<Int> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: IntMonoid#combine@kotlin.Int(kotlin.Int){}kotlin.Int
|
||||
// Public signature: /IntMonoid.combine|4765448259581317405[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: IntMonoid#combine@kotlin.Int(kotlin.Int){}
|
||||
// Public signature: /IntMonoid.combine|4429091503069708823[0]
|
||||
override infix fun Int.combine(other: Int): Int
|
||||
|
||||
}
|
||||
@@ -66,6 +81,9 @@ object StringMonoid : Monoid<String> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: StringMonoid#<get-unit>(){}kotlin.String
|
||||
// Public signature: /StringMonoid.unit.<get-unit>|4504480110251605077[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: StringMonoid#<get-unit>(){}
|
||||
// Public signature: /StringMonoid.unit.<get-unit>|1530864625432111105[0]
|
||||
override get
|
||||
|
||||
// CHECK:
|
||||
@@ -76,6 +94,9 @@ object StringMonoid : Monoid<String> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: StringMonoid#combine@kotlin.String(kotlin.String){}kotlin.String
|
||||
// Public signature: /StringMonoid.combine|-5815259829474546918[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: StringMonoid#combine@kotlin.String(kotlin.String){}
|
||||
// Public signature: /StringMonoid.combine|-2748332935123183663[0]
|
||||
override infix fun String.combine(other: String): String
|
||||
|
||||
}
|
||||
@@ -83,10 +104,16 @@ object StringMonoid : Monoid<String> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #sum!Monoid<0:0>@kotlin.collections.List<0:0>(){0§<kotlin.Any?>}0:0
|
||||
// Public signature: /sum|7635142307973834922[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #sum!Monoid<0:0>@kotlin.collections.List<0:0>(){0§<kotlin.Any?>}
|
||||
// Public signature: /sum|6490726678726957775[0]
|
||||
fun <T : Any?> List<T>.sum($context_receiver_0: Monoid<T>): T
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ FILE fqName:<root> fileName:/function.kt
|
||||
FUN name:bar visibility:public modality:FINAL <> (c:<root>.C) returnType:kotlin.Unit
|
||||
VALUE_PARAMETER name:c index:0 type:<root>.C
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.C
|
||||
<R>: kotlin.Unit
|
||||
receiver: GET_VAR 'c: <root>.C declared in <root>.bar' type=<root>.C origin=null
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// DUMP_LOCAL_DECLARATION_SIGNATURES
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: ANY
|
||||
// ^ KT-57428
|
||||
|
||||
@@ -10,6 +10,9 @@ class C {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C#<get-c>(){}kotlin.Int
|
||||
// Public signature: /C.c.<get-c>|-2440337234483931882[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: C#<get-c>(){}
|
||||
// Public signature: /C.c.<get-c>|2368736057102379596[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
|
||||
+2
-2
@@ -164,7 +164,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
CALL 'public final fun <get-c> (): kotlin.Int declared in <root>.C' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR '$context_receiver_0: <root>.C declared in <root>.test.<anonymous>' type=<root>.C origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.C
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.C' type=<root>.C origin=null
|
||||
@@ -172,7 +172,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.C) returnType:kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER name:$this$with type:<root>.C
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.R
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.R' type=<root>.R origin=null
|
||||
|
||||
+2
-2
@@ -164,7 +164,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
CALL 'public final fun <get-c> (): kotlin.Int declared in <root>.C' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR '$context_receiver_0: <root>.C declared in <root>.test.<anonymous>' type=<root>.C origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.C
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.C' type=<root>.C origin=null
|
||||
@@ -172,7 +172,7 @@ FILE fqName:<root> fileName:/functionalType.kt
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.C) returnType:kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER name:$this$with type:<root>.C
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.R
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.R' type=<root>.R origin=null
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
class Param
|
||||
class C {
|
||||
val c = 42
|
||||
|
||||
+6
@@ -9,6 +9,9 @@ class C {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C#<get-c>(){}kotlin.Int
|
||||
// Public signature: /C.c.<get-c>|-2440337234483931882[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: C#<get-c>(){}
|
||||
// Public signature: /C.c.<get-c>|2368736057102379596[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -40,6 +43,9 @@ class R {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: R#<get-r>(){}kotlin.Int
|
||||
// Public signature: /R.r.<get-r>|4210912234201800356[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: R#<get-r>(){}
|
||||
// Public signature: /R.r.<get-r>|-7424184448774736572[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
|
||||
+1
-5
@@ -1,13 +1,9 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: ANY
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
|
||||
// ^ KT-57429
|
||||
|
||||
|
||||
context(T) class A<T>
|
||||
|
||||
context(Collection<P>) class B<P>
|
||||
|
||||
+8
-2
@@ -6,9 +6,12 @@ class A<T : Any?> {
|
||||
// Mangled name: A#<init>!1:0(){}
|
||||
// Public signature: /A.<init>|5547349096232763669[0]
|
||||
constructor($context_receiver_0: T) /* primary */
|
||||
// CHECK:
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: A.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: A{}contextReceiverField0#jf
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name computed from Ir: A.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: A{}contextReceiverField0
|
||||
private /* final field */ val contextReceiverField0: T
|
||||
|
||||
}
|
||||
@@ -21,9 +24,12 @@ class B<P : Any?> {
|
||||
// Mangled name: B#<init>!kotlin.collections.Collection<1:0>(){}
|
||||
// Public signature: /B.<init>|-5453957848603821578[0]
|
||||
constructor($context_receiver_0: Collection<P>) /* primary */
|
||||
// CHECK:
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: B.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: B{}contextReceiverField0#jf
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name computed from Ir: B.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: B{}contextReceiverField0
|
||||
private /* final field */ val contextReceiverField0: Collection<P>
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -260,7 +260,7 @@ FILE fqName:<root> fileName:/iteratorOperator.kt
|
||||
VALUE_PARAMETER name:$context_receiver_0 index:0 type:<root>.CounterConfig
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun iterator ($context_receiver_0: <root>.CounterConfig): <root>.CounterIterator declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=<root>.CounterIterator origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=<root>.CounterIterator origin=null
|
||||
<T>: <root>.CounterConfig
|
||||
<R>: <root>.CounterIterator
|
||||
receiver: GET_VAR '$context_receiver_0: <root>.CounterConfig declared in <root>.iterator' type=<root>.CounterConfig origin=null
|
||||
@@ -276,7 +276,7 @@ FILE fqName:<root> fileName:/iteratorOperator.kt
|
||||
BLOCK_BODY
|
||||
VAR name:result type:kotlin.Int [var]
|
||||
CONST Int type=kotlin.Int value=0
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.CounterConfig
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> (max: kotlin.Int) declared in <root>.CounterConfig' type=<root>.CounterConfig origin=null
|
||||
|
||||
+2
-2
@@ -263,7 +263,7 @@ FILE fqName:<root> fileName:/iteratorOperator.kt
|
||||
VALUE_PARAMETER name:$context_receiver_0 index:0 type:<root>.CounterConfig
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun iterator ($context_receiver_0: <root>.CounterConfig): <root>.CounterIterator declared in <root>'
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=<root>.CounterIterator origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=<root>.CounterIterator origin=null
|
||||
<T>: <root>.CounterConfig
|
||||
<R>: <root>.CounterIterator
|
||||
receiver: GET_VAR '$context_receiver_0: <root>.CounterConfig declared in <root>.iterator' type=<root>.CounterConfig origin=null
|
||||
@@ -279,7 +279,7 @@ FILE fqName:<root> fileName:/iteratorOperator.kt
|
||||
BLOCK_BODY
|
||||
VAR name:result type:kotlin.Int [var]
|
||||
CONST Int type=kotlin.Int value=0
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.CounterConfig
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> (max: kotlin.Int) declared in <root>.CounterConfig' type=<root>.CounterConfig origin=null
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WITH_STDLIB
|
||||
data class Counter(var i: Int = 0)
|
||||
|
||||
|
||||
+55
-1
@@ -9,6 +9,9 @@ data class Counter {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Counter#<get-i>(){}kotlin.Int
|
||||
// Public signature: /Counter.i.<get-i>|-8784396159001927527[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Counter#<get-i>(){}
|
||||
// Public signature: /Counter.i.<get-i>|6945482638966853621[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: Counter#<set-i>(kotlin.Int){}
|
||||
@@ -22,26 +25,41 @@ data class Counter {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Counter#component1(){}kotlin.Int
|
||||
// Public signature: /Counter.component1|-8217597213800111288[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Counter#component1(){}
|
||||
// Public signature: /Counter.component1|162597135895221648[0]
|
||||
operator fun component1(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Counter#copy(kotlin.Int){}Counter
|
||||
// Public signature: /Counter.copy|2961790952651150110[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Counter#copy(kotlin.Int){}
|
||||
// Public signature: /Counter.copy|-6971662324481626298[0]
|
||||
fun copy(i: Int): Counter
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Counter#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /Counter.equals|722809408929142791[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Counter#equals(kotlin.Any?){}
|
||||
// Public signature: /Counter.equals|4638265728071529943[0]
|
||||
override operator fun equals(other: Any?): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Counter#hashCode(){}kotlin.Int
|
||||
// Public signature: /Counter.hashCode|-8048879360829830756[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Counter#hashCode(){}
|
||||
// Public signature: /Counter.hashCode|3409210261493131192[0]
|
||||
override fun hashCode(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Counter#toString(){}kotlin.String
|
||||
// Public signature: /Counter.toString|6958853723545266802[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Counter#toString(){}
|
||||
// Public signature: /Counter.toString|-1522858123163872138[0]
|
||||
override fun toString(): String
|
||||
|
||||
}
|
||||
@@ -57,6 +75,9 @@ data class CounterConfig {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: CounterConfig#<get-max>(){}kotlin.Int
|
||||
// Public signature: /CounterConfig.max.<get-max>|3083068406880796820[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: CounterConfig#<get-max>(){}
|
||||
// Public signature: /CounterConfig.max.<get-max>|-2092975001266666827[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -66,26 +87,41 @@ data class CounterConfig {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: CounterConfig#component1(){}kotlin.Int
|
||||
// Public signature: /CounterConfig.component1|-8217597213800111288[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: CounterConfig#component1(){}
|
||||
// Public signature: /CounterConfig.component1|162597135895221648[0]
|
||||
operator fun component1(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: CounterConfig#copy(kotlin.Int){}CounterConfig
|
||||
// Public signature: /CounterConfig.copy|-6936688204078599579[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: CounterConfig#copy(kotlin.Int){}
|
||||
// Public signature: /CounterConfig.copy|-6971662324481626298[0]
|
||||
fun copy(max: Int): CounterConfig
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: CounterConfig#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /CounterConfig.equals|722809408929142791[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: CounterConfig#equals(kotlin.Any?){}
|
||||
// Public signature: /CounterConfig.equals|4638265728071529943[0]
|
||||
override operator fun equals(other: Any?): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: CounterConfig#hashCode(){}kotlin.Int
|
||||
// Public signature: /CounterConfig.hashCode|-8048879360829830756[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: CounterConfig#hashCode(){}
|
||||
// Public signature: /CounterConfig.hashCode|3409210261493131192[0]
|
||||
override fun hashCode(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: CounterConfig#toString(){}kotlin.String
|
||||
// Public signature: /CounterConfig.toString|6958853723545266802[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: CounterConfig#toString(){}
|
||||
// Public signature: /CounterConfig.toString|-1522858123163872138[0]
|
||||
override fun toString(): String
|
||||
|
||||
}
|
||||
@@ -101,25 +137,37 @@ class CounterIterator : Iterator<Int> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: CounterIterator#<get-counter>(){}Counter
|
||||
// Public signature: /CounterIterator.counter.<get-counter>|-1972897806384113317[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: CounterIterator#<get-counter>(){}
|
||||
// Public signature: /CounterIterator.counter.<get-counter>|6903507550118978958[0]
|
||||
private get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: CounterIterator#<init>!CounterConfig(Counter){}
|
||||
// Public signature: /CounterIterator.<init>|4731448293962665986[0]
|
||||
constructor($context_receiver_0: CounterConfig, counter: Counter) /* primary */
|
||||
// CHECK:
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: CounterIterator.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: CounterIterator{}contextReceiverField0#jf
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name computed from Ir: CounterIterator.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: CounterIterator{}contextReceiverField0
|
||||
private /* final field */ val contextReceiverField0: CounterConfig
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: CounterIterator#hasNext(){}kotlin.Boolean
|
||||
// Public signature: /CounterIterator.hasNext|-8822308834813776763[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: CounterIterator#hasNext(){}
|
||||
// Public signature: /CounterIterator.hasNext|-3649021657867765832[0]
|
||||
override operator fun hasNext(): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: CounterIterator#next(){}kotlin.Int
|
||||
// Public signature: /CounterIterator.next|-2200495694769701977[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: CounterIterator#next(){}
|
||||
// Public signature: /CounterIterator.next|4628025478201224268[0]
|
||||
override operator fun next(): Int
|
||||
|
||||
}
|
||||
@@ -127,10 +175,16 @@ class CounterIterator : Iterator<Int> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #iterator!CounterConfig@Counter(){}CounterIterator
|
||||
// Public signature: /iterator|3723033021471264185[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #iterator!CounterConfig@Counter(){}
|
||||
// Public signature: /iterator|-4428923153638402647[0]
|
||||
operator fun Counter.iterator($context_receiver_0: CounterConfig): CounterIterator
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ FILE fqName:<root> fileName:/lazy.kt
|
||||
VALUE_PARAMETER name:lazyT index:2 type:<root>.Lazy<T of <root>.f>
|
||||
VALUE_PARAMETER name:lazyLazyT index:3 type:<root>.Lazy<<root>.Lazy<T of <root>.f>>
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.Lazy<kotlin.Int>
|
||||
<R>: kotlin.Unit
|
||||
receiver: GET_VAR 'lazy1: <root>.Lazy<kotlin.Int> declared in <root>.f' type=<root>.Lazy<kotlin.Int> origin=null
|
||||
@@ -47,7 +47,7 @@ FILE fqName:<root> fileName:/lazy.kt
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.Lazy<kotlin.Int>) returnType:kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER name:$this$with type:<root>.Lazy<kotlin.Int>
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.Lazy<kotlin.CharSequence>
|
||||
<R>: kotlin.Unit
|
||||
receiver: GET_VAR 'lazy2: <root>.Lazy<kotlin.CharSequence> declared in <root>.f' type=<root>.Lazy<kotlin.CharSequence> origin=null
|
||||
@@ -62,7 +62,7 @@ FILE fqName:<root> fileName:/lazy.kt
|
||||
<T>: kotlin.CharSequence
|
||||
$receiver: GET_VAR '$this$with: <root>.Lazy<kotlin.Int> declared in <root>.f.<anonymous>' type=<root>.Lazy<kotlin.Int> origin=null
|
||||
$context_receiver_0: GET_VAR '$this$with: <root>.Lazy<kotlin.CharSequence> declared in <root>.f.<anonymous>.<anonymous>' type=<root>.Lazy<kotlin.CharSequence> origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.Lazy<kotlin.CharSequence>
|
||||
<R>: kotlin.Unit
|
||||
receiver: GET_VAR 'lazy2: <root>.Lazy<kotlin.CharSequence> declared in <root>.f' type=<root>.Lazy<kotlin.CharSequence> origin=null
|
||||
@@ -70,7 +70,7 @@ FILE fqName:<root> fileName:/lazy.kt
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.Lazy<kotlin.CharSequence>) returnType:kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER name:$this$with type:<root>.Lazy<kotlin.CharSequence>
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.Lazy<kotlin.Int>
|
||||
<R>: kotlin.Unit
|
||||
receiver: GET_VAR 'lazy1: <root>.Lazy<kotlin.Int> declared in <root>.f' type=<root>.Lazy<kotlin.Int> origin=null
|
||||
@@ -85,7 +85,7 @@ FILE fqName:<root> fileName:/lazy.kt
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_VAR '$this$with: <root>.Lazy<kotlin.Int> declared in <root>.f.<anonymous>.<anonymous>' type=<root>.Lazy<kotlin.Int> origin=null
|
||||
$context_receiver_0: GET_VAR '$this$with: <root>.Lazy<kotlin.Int> declared in <root>.f.<anonymous>.<anonymous>' type=<root>.Lazy<kotlin.Int> origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.Lazy<T of <root>.f>
|
||||
<R>: kotlin.Unit
|
||||
receiver: GET_VAR 'lazyT: <root>.Lazy<T of <root>.f> declared in <root>.f' type=<root>.Lazy<T of <root>.f> origin=null
|
||||
@@ -93,7 +93,7 @@ FILE fqName:<root> fileName:/lazy.kt
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.Lazy<T of <root>.f>) returnType:kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER name:$this$with type:<root>.Lazy<T of <root>.f>
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.Lazy<kotlin.Int>
|
||||
<R>: kotlin.Unit
|
||||
receiver: GET_VAR 'lazy1: <root>.Lazy<kotlin.Int> declared in <root>.f' type=<root>.Lazy<kotlin.Int> origin=null
|
||||
@@ -105,7 +105,7 @@ FILE fqName:<root> fileName:/lazy.kt
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_VAR '$this$with: <root>.Lazy<kotlin.Int> declared in <root>.f.<anonymous>.<anonymous>' type=<root>.Lazy<kotlin.Int> origin=null
|
||||
$context_receiver_0: GET_VAR '$this$with: <root>.Lazy<kotlin.Int> declared in <root>.f.<anonymous>.<anonymous>' type=<root>.Lazy<kotlin.Int> origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.Lazy<<root>.Lazy<T of <root>.f>>
|
||||
<R>: kotlin.Unit
|
||||
receiver: GET_VAR 'lazyLazyT: <root>.Lazy<<root>.Lazy<T of <root>.f>> declared in <root>.f' type=<root>.Lazy<<root>.Lazy<T of <root>.f>> origin=null
|
||||
@@ -113,7 +113,7 @@ FILE fqName:<root> fileName:/lazy.kt
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.Lazy<<root>.Lazy<T of <root>.f>>) returnType:kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER name:$this$with type:<root>.Lazy<<root>.Lazy<T of <root>.f>>
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.Lazy<kotlin.Int>
|
||||
<R>: kotlin.Unit
|
||||
receiver: GET_VAR 'lazy1: <root>.Lazy<kotlin.Int> declared in <root>.f' type=<root>.Lazy<kotlin.Int> origin=null
|
||||
@@ -129,7 +129,7 @@ FILE fqName:<root> fileName:/lazy.kt
|
||||
<T>: T of <root>.f
|
||||
$receiver: GET_VAR '$this$with: <root>.Lazy<kotlin.Int> declared in <root>.f.<anonymous>.<anonymous>' type=<root>.Lazy<kotlin.Int> origin=null
|
||||
$context_receiver_0: GET_VAR '$this$with: <root>.Lazy<<root>.Lazy<T of <root>.f>> declared in <root>.f.<anonymous>' type=<root>.Lazy<<root>.Lazy<T of <root>.f>> origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.Lazy<kotlin.Int>
|
||||
<R>: kotlin.Unit
|
||||
receiver: GET_VAR 'lazy1: <root>.Lazy<kotlin.Int> declared in <root>.f' type=<root>.Lazy<kotlin.Int> origin=null
|
||||
@@ -137,7 +137,7 @@ FILE fqName:<root> fileName:/lazy.kt
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.Lazy<kotlin.Int>) returnType:kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER name:$this$with type:<root>.Lazy<kotlin.Int>
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: <root>.Lazy<<root>.Lazy<T of <root>.f>>
|
||||
<R>: kotlin.Unit
|
||||
receiver: GET_VAR 'lazyLazyT: <root>.Lazy<<root>.Lazy<T of <root>.f>> declared in <root>.f' type=<root>.Lazy<<root>.Lazy<T of <root>.f>> origin=null
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// DUMP_LOCAL_DECLARATION_SIGNATURES
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: ANY
|
||||
// ^ KT-57428
|
||||
|
||||
+3
-3
@@ -23,15 +23,15 @@ FILE fqName:<root> fileName:/overloadPriority.kt
|
||||
VALUE_PARAMETER name:$context_receiver_0 index:0 type:<root>.Context
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun f ($context_receiver_0: <root>.Context): kotlin.String declared in <root>'
|
||||
CALL 'public final fun TODO (): kotlin.Nothing declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
CALL 'public final fun TODO (): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
|
||||
FUN name:f visibility:public modality:FINAL <> () returnType:kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun f (): kotlin.Any declared in <root>'
|
||||
CALL 'public final fun TODO (): kotlin.Nothing declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
CALL 'public final fun TODO (): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
|
||||
FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: <root>.Context
|
||||
<R>: kotlin.Int
|
||||
receiver: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Context' type=<root>.Context origin=null
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// DUMP_LOCAL_DECLARATION_SIGNATURES
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: ANY
|
||||
// ^ KT-57428
|
||||
|
||||
+8
@@ -12,11 +12,17 @@ class Context {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #f!Context(){}kotlin.String
|
||||
// Public signature: /f|-5175802051654911360[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #f!Context(){}
|
||||
// Public signature: /f|-1050574650869165395[0]
|
||||
fun f($context_receiver_0: Context): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #f(){}kotlin.Any
|
||||
// Public signature: /f|-2324325393552926316[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #f(){}
|
||||
// Public signature: /f|5316533450599009716[0]
|
||||
fun f(): Any
|
||||
|
||||
// CHECK:
|
||||
@@ -25,5 +31,7 @@ fun f(): Any
|
||||
fun test(): Unit
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #test(){}#<anonymous>#static@Context(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #test(){}#<anonymous>#static@Context(){}
|
||||
local fun Context.<anonymous>(): Int
|
||||
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ FILE fqName:<root> fileName:/overloading.kt
|
||||
FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: kotlin.Int
|
||||
receiver: CONST Int type=kotlin.Int value=42
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// DUMP_LOCAL_DECLARATION_SIGNATURES
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: ANY
|
||||
// ^ KT-57428
|
||||
|
||||
+8
@@ -1,11 +1,17 @@
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #foo!kotlin.Int(){}kotlin.Int
|
||||
// Public signature: /foo|-298514072419997277[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #foo!kotlin.Int(){}
|
||||
// Public signature: /foo|-2047845050892281405[0]
|
||||
fun foo($context_receiver_0: Int): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #foo!kotlin.Int!kotlin.String(){}kotlin.Int
|
||||
// Public signature: /foo|7076979931255393427[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #foo!kotlin.Int!kotlin.String(){}
|
||||
// Public signature: /foo|-6855876411691473491[0]
|
||||
fun foo($context_receiver_0: Int, $context_receiver_1: String): Int
|
||||
|
||||
// CHECK:
|
||||
@@ -14,5 +20,7 @@ fun foo($context_receiver_0: Int, $context_receiver_1: String): Int
|
||||
fun test(): Unit
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #test(){}#<anonymous>#static@kotlin.Int(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #test(){}#<anonymous>#static@kotlin.Int(){}
|
||||
local fun Int.<anonymous>(): Int
|
||||
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ FILE fqName:<root> fileName:/plusMatrix.kt
|
||||
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>'
|
||||
CALL 'public final fun TODO (): kotlin.Nothing declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
CALL 'public final fun TODO (): kotlin.Nothing declared in kotlin' 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
|
||||
VALUE_PARAMETER name:m1 index:0 type:<root>.Matrix
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
interface NumberOperations {
|
||||
fun Number.plus(other: Number): Number
|
||||
}
|
||||
|
||||
+6
@@ -17,6 +17,9 @@ interface NumberOperations {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: NumberOperations#plus@kotlin.Number(kotlin.Number){}kotlin.Number
|
||||
// Public signature: /NumberOperations.plus|-6518987633126930952[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: NumberOperations#plus@kotlin.Number(kotlin.Number){}
|
||||
// Public signature: /NumberOperations.plus|-1680445349837757562[0]
|
||||
abstract fun Number.plus(other: Number): Number
|
||||
|
||||
}
|
||||
@@ -24,6 +27,9 @@ interface NumberOperations {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #plus!NumberOperations@Matrix(Matrix){}Matrix
|
||||
// Public signature: /plus|1303343764214809933[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #plus!NumberOperations@Matrix(Matrix){}
|
||||
// Public signature: /plus|-2670469522083122958[0]
|
||||
fun Matrix.plus($context_receiver_0: NumberOperations, other: Matrix): Matrix
|
||||
|
||||
// CHECK:
|
||||
|
||||
+1
-3
@@ -1,9 +1,7 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: ANY
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
|
||||
// ^ KT-57429
|
||||
|
||||
class A<T>(val a: T)
|
||||
|
||||
+12
@@ -9,6 +9,9 @@ class A<T : Any?> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#<get-a>(){}1:0
|
||||
// Public signature: /A.a.<get-a>|5765441560292063424[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#<get-a>(){}
|
||||
// Public signature: /A.a.<get-a>|6785176174175479410[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -29,6 +32,9 @@ class B {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: B#<get-b>(){}kotlin.Any
|
||||
// Public signature: /B.b.<get-b>|4768115582956424363[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: B#<get-b>(){}
|
||||
// Public signature: /B.b.<get-b>|812004636995167743[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -49,6 +55,9 @@ class C {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C#<get-c>(){}kotlin.Any
|
||||
// Public signature: /C.c.<get-c>|-7073232512849879703[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: C#<get-c>(){}
|
||||
// Public signature: /C.c.<get-c>|2368736057102379596[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -70,5 +79,8 @@ val C.p: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-p>!A<kotlin.Int>!A<kotlin.String>!B@C(){}kotlin.Int
|
||||
// Public signature: /p.<get-p>|-7725362510645392909[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-p>!A<kotlin.Int>!A<kotlin.String>!B@C(){}
|
||||
// Public signature: /p.<get-p>|-2698360468898936971[0]
|
||||
get($context_receiver_0: A<Int>, $context_receiver_1: A<String>, $context_receiver_2: B): Int
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -7,7 +7,7 @@ FILE fqName:<root> fileName:/typeParameterAsContextReceiver.kt
|
||||
BLOCK_BODY
|
||||
FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: kotlin.Unit
|
||||
receiver: CONST Int type=kotlin.Int value=42
|
||||
|
||||
Vendored
-2
@@ -1,8 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// DUMP_LOCAL_DECLARATION_SIGNATURES
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: ANY
|
||||
// ^ KT-57428
|
||||
|
||||
+1
-1
@@ -176,7 +176,7 @@ FILE fqName:<root> fileName:/unaryOperators.kt
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) declared in <root>.Result' type=<root>.Result origin=null
|
||||
i: CONST Int type=kotlin.Int value=0
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=<root>.Result origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=<root>.Result origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: <root>.Result
|
||||
receiver: CONST Int type=kotlin.Int value=1
|
||||
|
||||
+1
-1
@@ -181,7 +181,7 @@ FILE fqName:<root> fileName:/unaryOperators.kt
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) declared in <root>.Result' type=<root>.Result origin=null
|
||||
i: CONST Int type=kotlin.Int value=0
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with declared in kotlin.StandardKt' type=<root>.Result origin=null
|
||||
CALL 'public final fun with <T, R> (receiver: T of kotlin.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.with, R of kotlin.with>): R of kotlin.with declared in kotlin' type=<root>.Result origin=null
|
||||
<T>: kotlin.Int
|
||||
<R>: <root>.Result
|
||||
receiver: CONST Int type=kotlin.Int value=1
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
data class Result(val i: Int)
|
||||
|
||||
|
||||
+36
@@ -5,6 +5,9 @@ var operationScore: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-operationScore>(){}kotlin.Int
|
||||
// Public signature: /operationScore.<get-operationScore>|7107010356269447258[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-operationScore>(){}
|
||||
// Public signature: /operationScore.<get-operationScore>|6765204501149451629[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: #<set-operationScore>(kotlin.Int){}
|
||||
@@ -22,6 +25,9 @@ data class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#<get-i>(){}kotlin.Int
|
||||
// Public signature: /Result.i.<get-i>|-8784396159001927527[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#<get-i>(){}
|
||||
// Public signature: /Result.i.<get-i>|6945482638966853621[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -31,26 +37,41 @@ data class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#component1(){}kotlin.Int
|
||||
// Public signature: /Result.component1|-8217597213800111288[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#component1(){}
|
||||
// Public signature: /Result.component1|162597135895221648[0]
|
||||
operator fun component1(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#copy(kotlin.Int){}Result
|
||||
// Public signature: /Result.copy|5439238034196076859[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#copy(kotlin.Int){}
|
||||
// Public signature: /Result.copy|-6971662324481626298[0]
|
||||
fun copy(i: Int): Result
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /Result.equals|722809408929142791[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#equals(kotlin.Any?){}
|
||||
// Public signature: /Result.equals|4638265728071529943[0]
|
||||
override operator fun equals(other: Any?): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#hashCode(){}kotlin.Int
|
||||
// Public signature: /Result.hashCode|-8048879360829830756[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#hashCode(){}
|
||||
// Public signature: /Result.hashCode|3409210261493131192[0]
|
||||
override fun hashCode(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#toString(){}kotlin.String
|
||||
// Public signature: /Result.toString|6958853723545266802[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#toString(){}
|
||||
// Public signature: /Result.toString|-1522858123163872138[0]
|
||||
override fun toString(): String
|
||||
|
||||
}
|
||||
@@ -58,25 +79,40 @@ data class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #dec!kotlin.Int@Result(){}Result
|
||||
// Public signature: /dec|6054584114651390969[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #dec!kotlin.Int@Result(){}
|
||||
// Public signature: /dec|-7224087074051473472[0]
|
||||
operator fun Result.dec($context_receiver_0: Int): Result
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #inc!kotlin.Int@Result(){}Result
|
||||
// Public signature: /inc|-6349683016158919485[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #inc!kotlin.Int@Result(){}
|
||||
// Public signature: /inc|6156460640001049173[0]
|
||||
operator fun Result.inc($context_receiver_0: Int): Result
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #unaryMinus!kotlin.Int@Result(){}Result
|
||||
// Public signature: /unaryMinus|-8891797954767898088[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #unaryMinus!kotlin.Int@Result(){}
|
||||
// Public signature: /unaryMinus|-1245437128467335194[0]
|
||||
operator fun Result.unaryMinus($context_receiver_0: Int): Result
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #unaryPlus!kotlin.Int@Result(){}Result
|
||||
// Public signature: /unaryPlus|6329022242309077522[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #unaryPlus!kotlin.Int@Result(){}
|
||||
// Public signature: /unaryPlus|-4073638544609631[0]
|
||||
operator fun Result.unaryPlus($context_receiver_0: Int): Result
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ FILE fqName:<root> fileName:/delegatedProperties.kt
|
||||
PROPERTY name:test1 visibility:public modality:FINAL [delegated,val]
|
||||
FIELD PROPERTY_DELEGATE name:test1$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final,static]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.LazyKt.lazy>): kotlin.Lazy<T of kotlin.LazyKt.lazy> declared in kotlin.LazyKt' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.lazy>): kotlin.Lazy<T of kotlin.lazy> declared in kotlin' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
initializer: FUN_EXPR type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int
|
||||
@@ -13,7 +13,7 @@ FILE fqName:<root> fileName:/delegatedProperties.kt
|
||||
correspondingProperty: PROPERTY name:test1 visibility:public modality:FINAL [delegated,val]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun <get-test1> (): kotlin.Int declared in <root>'
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.LazyKt.getValue declared in kotlin.LazyKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.getValue declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_FIELD 'FIELD PROPERTY_DELEGATE name:test1$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final,static]' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
thisRef: CONST Null type=kotlin.Nothing? value=null
|
||||
@@ -39,7 +39,7 @@ FILE fqName:<root> fileName:/delegatedProperties.kt
|
||||
PROPERTY name:test2 visibility:public modality:FINAL [delegated,val]
|
||||
FIELD PROPERTY_DELEGATE name:test2$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.LazyKt.lazy>): kotlin.Lazy<T of kotlin.LazyKt.lazy> declared in kotlin.LazyKt' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.lazy>): kotlin.Lazy<T of kotlin.lazy> declared in kotlin' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
initializer: FUN_EXPR type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int
|
||||
@@ -51,7 +51,7 @@ FILE fqName:<root> fileName:/delegatedProperties.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun <get-test2> (): kotlin.Int declared in <root>.C'
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.LazyKt.getValue declared in kotlin.LazyKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.getValue declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_FIELD 'FIELD PROPERTY_DELEGATE name:test2$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final]' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
receiver: GET_VAR '<this>: <root>.C declared in <root>.C.<get-test2>' type=<root>.C origin=null
|
||||
@@ -102,7 +102,7 @@ FILE fqName:<root> fileName:/delegatedProperties.kt
|
||||
PROPERTY name:test4 visibility:public modality:FINAL [delegated,var]
|
||||
FIELD PROPERTY_DELEGATE name:test4$delegate type:java.util.HashMap<kotlin.String, kotlin.Any> visibility:private [final,static]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun hashMapOf <K, V> (): java.util.HashMap<K of kotlin.collections.MapsKt.hashMapOf, V of kotlin.collections.MapsKt.hashMapOf> declared in kotlin.collections.MapsKt' type=java.util.HashMap<kotlin.String, kotlin.Any> origin=null
|
||||
CALL 'public final fun hashMapOf <K, V> (): java.util.HashMap<K of kotlin.collections.hashMapOf, V of kotlin.collections.hashMapOf> declared in kotlin.collections' type=java.util.HashMap<kotlin.String, kotlin.Any> origin=null
|
||||
<K>: kotlin.String
|
||||
<V>: kotlin.Any
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR name:<get-test4> visibility:public modality:FINAL <> () returnType:kotlin.Any
|
||||
|
||||
@@ -2,7 +2,7 @@ FILE fqName:<root> fileName:/delegatedProperties.kt
|
||||
PROPERTY name:test1 visibility:public modality:FINAL [delegated,val]
|
||||
FIELD PROPERTY_DELEGATE name:test1$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final,static]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.LazyKt.lazy>): kotlin.Lazy<T of kotlin.LazyKt.lazy> declared in kotlin.LazyKt' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.lazy>): kotlin.Lazy<T of kotlin.lazy> declared in kotlin' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
initializer: FUN_EXPR type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int
|
||||
@@ -13,7 +13,7 @@ FILE fqName:<root> fileName:/delegatedProperties.kt
|
||||
correspondingProperty: PROPERTY name:test1 visibility:public modality:FINAL [delegated,val]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun <get-test1> (): kotlin.Int declared in <root>'
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.LazyKt.getValue declared in kotlin.LazyKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.getValue declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_FIELD 'FIELD PROPERTY_DELEGATE name:test1$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final,static]' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
thisRef: CONST Null type=kotlin.Nothing? value=null
|
||||
@@ -39,7 +39,7 @@ FILE fqName:<root> fileName:/delegatedProperties.kt
|
||||
PROPERTY name:test2 visibility:public modality:FINAL [delegated,val]
|
||||
FIELD PROPERTY_DELEGATE name:test2$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.LazyKt.lazy>): kotlin.Lazy<T of kotlin.LazyKt.lazy> declared in kotlin.LazyKt' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
CALL 'public final fun lazy <T> (initializer: kotlin.Function0<T of kotlin.lazy>): kotlin.Lazy<T of kotlin.lazy> declared in kotlin' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
<T>: kotlin.Int
|
||||
initializer: FUN_EXPR type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int
|
||||
@@ -51,7 +51,7 @@ FILE fqName:<root> fileName:/delegatedProperties.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun <get-test2> (): kotlin.Int declared in <root>.C'
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.LazyKt.getValue declared in kotlin.LazyKt' type=kotlin.Int origin=null
|
||||
CALL 'public final fun getValue <T> (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.getValue declared in kotlin' type=kotlin.Int origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_FIELD 'FIELD PROPERTY_DELEGATE name:test2$delegate type:kotlin.Lazy<kotlin.Int> visibility:private [final]' type=kotlin.Lazy<kotlin.Int> origin=null
|
||||
receiver: GET_VAR '<this>: <root>.C declared in <root>.C.<get-test2>' type=<root>.C origin=null
|
||||
@@ -103,7 +103,7 @@ FILE fqName:<root> fileName:/delegatedProperties.kt
|
||||
PROPERTY name:test4 visibility:public modality:FINAL [delegated,var]
|
||||
FIELD PROPERTY_DELEGATE name:test4$delegate type:java.util.HashMap<kotlin.String, kotlin.Any>{ kotlin.collections.HashMap<kotlin.String, kotlin.Any> } visibility:private [final,static]
|
||||
EXPRESSION_BODY
|
||||
CALL 'public final fun hashMapOf <K, V> (): java.util.HashMap<K of kotlin.collections.MapsKt.hashMapOf, V of kotlin.collections.MapsKt.hashMapOf>{ kotlin.collections.HashMap<K of kotlin.collections.MapsKt.hashMapOf, V of kotlin.collections.MapsKt.hashMapOf> } declared in kotlin.collections.MapsKt' type=java.util.HashMap<kotlin.String, kotlin.Any>{ kotlin.collections.HashMap<kotlin.String, kotlin.Any> } origin=null
|
||||
CALL 'public final fun hashMapOf <K, V> (): java.util.HashMap<K of kotlin.collections.hashMapOf, V of kotlin.collections.hashMapOf>{ kotlin.collections.HashMap<K of kotlin.collections.hashMapOf, V of kotlin.collections.hashMapOf> } declared in kotlin.collections' type=java.util.HashMap<kotlin.String, kotlin.Any>{ kotlin.collections.HashMap<kotlin.String, kotlin.Any> } origin=null
|
||||
<K>: kotlin.String
|
||||
<V>: kotlin.Any
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR name:<get-test4> visibility:public modality:FINAL <> () returnType:kotlin.Any
|
||||
|
||||
+1
-1
@@ -12,4 +12,4 @@ FILE fqName:<root> fileName:/kt27005.kt
|
||||
FUN name:baz visibility:public modality:FINAL <T> () returnType:T of <root>.baz [suspend]
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun TODO (): kotlin.Nothing declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
CALL 'public final fun TODO (): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
suspend fun foo() = baz<Unit>()
|
||||
suspend fun bar() = baz<Any>()
|
||||
|
||||
@@ -14,7 +14,7 @@ FILE fqName:<root> fileName:/kt47527.kt
|
||||
then: CONST Null type=kotlin.Nothing? value=null
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.StandardKt.let, R of kotlin.StandardKt.let>): R of kotlin.StandardKt.let declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.let, R of kotlin.let>): R of kotlin.let declared in kotlin' type=kotlin.Nothing origin=null
|
||||
<T>: kotlin.Any
|
||||
<R>: kotlin.Nothing
|
||||
$receiver: GET_VAR 'val tmp_0: kotlin.Any? declared in <root>.test_1' type=kotlin.Any? origin=null
|
||||
@@ -28,7 +28,7 @@ FILE fqName:<root> fileName:/kt47527.kt
|
||||
VALUE_PARAMETER name:value index:0 type:kotlin.Any?
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun test_2 (value: kotlin.Any?): kotlin.String? declared in <root>'
|
||||
CALL 'public final fun run <R> (block: kotlin.Function0<R of kotlin.StandardKt.run>): R of kotlin.StandardKt.run declared in kotlin.StandardKt' type=kotlin.String? origin=null
|
||||
CALL 'public final fun run <R> (block: kotlin.Function0<R of kotlin.run>): R of kotlin.run declared in kotlin' type=kotlin.String? origin=null
|
||||
<R>: kotlin.String?
|
||||
block: FUN_EXPR type=kotlin.Function0<kotlin.String?> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.String?
|
||||
@@ -45,7 +45,7 @@ FILE fqName:<root> fileName:/kt47527.kt
|
||||
then: CONST Null type=kotlin.Nothing? value=null
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.StandardKt.let, R of kotlin.StandardKt.let>): R of kotlin.StandardKt.let declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.let, R of kotlin.let>): R of kotlin.let declared in kotlin' type=kotlin.Nothing origin=null
|
||||
<T>: kotlin.Any
|
||||
<R>: kotlin.Nothing
|
||||
$receiver: GET_VAR 'val tmp_1: kotlin.Any? declared in <root>.test_2.<anonymous>' type=kotlin.Any? origin=null
|
||||
|
||||
+3
-3
@@ -14,7 +14,7 @@ FILE fqName:<root> fileName:/kt47527.kt
|
||||
then: CONST Null type=kotlin.Nothing? value=null
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.StandardKt.let, R of kotlin.StandardKt.let>): R of kotlin.StandardKt.let declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.let, R of kotlin.let>): R of kotlin.let declared in kotlin' type=kotlin.Nothing origin=null
|
||||
<T>: kotlin.Any
|
||||
<R>: kotlin.Nothing
|
||||
$receiver: GET_VAR 'val tmp_0: kotlin.Any? declared in <root>.test_1' type=kotlin.Any? origin=null
|
||||
@@ -28,7 +28,7 @@ FILE fqName:<root> fileName:/kt47527.kt
|
||||
VALUE_PARAMETER name:value index:0 type:kotlin.Any?
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun test_2 (value: kotlin.Any?): kotlin.String? declared in <root>'
|
||||
CALL 'public final fun run <R> (block: kotlin.Function0<R of kotlin.StandardKt.run>): R of kotlin.StandardKt.run declared in kotlin.StandardKt' type=kotlin.Nothing? origin=null
|
||||
CALL 'public final fun run <R> (block: kotlin.Function0<R of kotlin.run>): R of kotlin.run declared in kotlin' type=kotlin.Nothing? origin=null
|
||||
<R>: kotlin.Nothing?
|
||||
block: FUN_EXPR type=kotlin.Function0<kotlin.Nothing?> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing?
|
||||
@@ -45,7 +45,7 @@ FILE fqName:<root> fileName:/kt47527.kt
|
||||
then: CONST Null type=kotlin.Nothing? value=null
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.StandardKt.let, R of kotlin.StandardKt.let>): R of kotlin.StandardKt.let declared in kotlin.StandardKt' type=kotlin.Nothing origin=null
|
||||
then: CALL 'public final fun let <T, R> (block: kotlin.Function1<T of kotlin.let, R of kotlin.let>): R of kotlin.let declared in kotlin' type=kotlin.Nothing origin=null
|
||||
<T>: kotlin.Any
|
||||
<R>: kotlin.Nothing
|
||||
$receiver: GET_VAR 'val tmp_1: kotlin.Any? declared in <root>.test_2.<anonymous>' type=kotlin.Any? origin=null
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user