Files
anzhela.sukhanova 82255d5ee8 [Test] KT-61360: add tests for the IrFakeOverrideBuilder
Add tests for fake overrides with focus on java interoperability

Co-authored-by: Aleksandra Arsenteva <aleksandra.arsenteva@jetbrains.com>
2024-03-04 16:21:02 +00:00

317 lines
27 KiB
Plaintext
Vendored

FILE fqName:<root> fileName:/1.kt
CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
CONSTRUCTOR visibility:public <> () returnType:<root>.A [primary]
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]'
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline]
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
BLOCK_BODY
FUN name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline]
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
BLOCK_BODY
CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.Java1]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.B
CONSTRUCTOR visibility:public <> () returnType:<root>.B [primary]
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.Java1]'
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
overridden:
public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
overridden:
public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in <root>.Java1
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in <root>.Java1
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
CLASS CLASS name:C modality:ABSTRACT visibility:public superTypes:[<root>.Java1; <root>.Java2]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C
CONSTRUCTOR visibility:public <> () returnType:<root>.C [primary]
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:ABSTRACT visibility:public superTypes:[<root>.Java1; <root>.Java2]'
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:foo visibility:public modality:ABSTRACT <> ($this:<root>.Java2, lambda:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?) returnType:kotlin.Unit [fake_override]
overridden:
public abstract fun foo (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
VALUE_PARAMETER name:lambda index:0 type:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
overridden:
public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:ABSTRACT <> ($this:<root>.Java2, lambda:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?) returnType:kotlin.Unit [fake_override]
overridden:
public abstract fun foo2 (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
VALUE_PARAMETER name:lambda index:0 type:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
overridden:
public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in <root>.Java1
public open fun hashCode (): kotlin.Int declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in <root>.Java1
public open fun toString (): kotlin.String declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
CLASS CLASS name:D modality:FINAL visibility:public superTypes:[<root>.Java1; <root>.Java2]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.D
CONSTRUCTOR visibility:public <> () returnType:<root>.D [primary]
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:D modality:FINAL visibility:public superTypes:[<root>.Java1; <root>.Java2]'
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
overridden:
public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
overridden:
public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in <root>.Java1
public open fun hashCode (): kotlin.Int declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in <root>.Java1
public open fun toString (): kotlin.String declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:foo visibility:public modality:OPEN <> ($this:<root>.D, lambda:java.util.function.Function<kotlin.Int, kotlin.Int>?) returnType:kotlin.Unit
overridden:
public abstract fun foo (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:<root>.D
VALUE_PARAMETER name:lambda index:0 type:java.util.function.Function<kotlin.Int, kotlin.Int>?
BLOCK_BODY
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.D, lambda:java.util.function.Function<kotlin.Int, kotlin.Int>?) returnType:kotlin.Unit
overridden:
public abstract fun foo2 (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:<root>.D
VALUE_PARAMETER name:lambda index:0 type:java.util.function.Function<kotlin.Int, kotlin.Int>?
BLOCK_BODY
CLASS CLASS name:E modality:ABSTRACT visibility:public superTypes:[<root>.A; <root>.Java2]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.E
CONSTRUCTOR visibility:public <> () returnType:<root>.E [primary]
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.A'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:E modality:ABSTRACT visibility:public superTypes:[<root>.A; <root>.Java2]'
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.A
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:foo visibility:public modality:ABSTRACT <> ($this:<root>.Java2, lambda:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?) returnType:kotlin.Unit [fake_override]
overridden:
public abstract fun foo (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
VALUE_PARAMETER name:lambda index:0 type:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
overridden:
public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.A
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:ABSTRACT <> ($this:<root>.Java2, lambda:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?) returnType:kotlin.Unit [fake_override]
overridden:
public abstract fun foo2 (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
VALUE_PARAMETER name:lambda index:0 type:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
overridden:
public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.A
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in <root>.A
public open fun hashCode (): kotlin.Int declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in <root>.A
public open fun toString (): kotlin.String declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
CLASS CLASS name:F modality:FINAL visibility:public superTypes:[<root>.A; <root>.Java2]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.F
CONSTRUCTOR visibility:public <> () returnType:<root>.F [primary]
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.A'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:F modality:FINAL visibility:public superTypes:[<root>.A; <root>.Java2]'
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.A
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
overridden:
public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.A
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
overridden:
public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.A
$this: VALUE_PARAMETER name:<this> type:<root>.A
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in <root>.A
public open fun hashCode (): kotlin.Int declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in <root>.A
public open fun toString (): kotlin.String declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:foo visibility:public modality:OPEN <> ($this:<root>.F, lambda:java.util.function.Function<kotlin.Int, kotlin.Int>?) returnType:kotlin.Unit
overridden:
public abstract fun foo (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:<root>.F
VALUE_PARAMETER name:lambda index:0 type:java.util.function.Function<kotlin.Int, kotlin.Int>?
BLOCK_BODY
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.F, lambda:java.util.function.Function<kotlin.Int, kotlin.Int>?) returnType:kotlin.Unit
overridden:
public abstract fun foo2 (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
$this: VALUE_PARAMETER name:<this> type:<root>.F
VALUE_PARAMETER name:lambda index:0 type:java.util.function.Function<kotlin.Int, kotlin.Int>?
BLOCK_BODY
FUN name:test visibility:public modality:FINAL <> (b:<root>.B, c:<root>.C, d:<root>.D, e:<root>.E, f:<root>.F) returnType:kotlin.Unit
VALUE_PARAMETER name:b index:0 type:<root>.B
VALUE_PARAMETER name:c index:1 type:<root>.C
VALUE_PARAMETER name:d index:2 type:<root>.D
VALUE_PARAMETER name:e index:3 type:<root>.E
VALUE_PARAMETER name:f index:4 type:<root>.F
BLOCK_BODY
CALL 'public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
VALUE_PARAMETER name:it index:0 type:kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
CONST Int type=kotlin.Int value=1
CALL 'public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
VALUE_PARAMETER name:it index:0 type:kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
CONST Int type=kotlin.Int value=1
CALL 'public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
VALUE_PARAMETER name:it index:0 type:kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
CONST Int type=kotlin.Int value=1
CALL 'public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
VALUE_PARAMETER name:it index:0 type:kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
CONST Int type=kotlin.Int value=1
CALL 'public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.D' type=kotlin.Unit origin=null
$this: GET_VAR 'd: <root>.D declared in <root>.test' type=<root>.D origin=null
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
VALUE_PARAMETER name:it index:0 type:kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
CONST Int type=kotlin.Int value=1
CALL 'public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.D' type=kotlin.Unit origin=null
$this: GET_VAR 'd: <root>.D declared in <root>.test' type=<root>.D origin=null
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
VALUE_PARAMETER name:it index:0 type:kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
CONST Int type=kotlin.Int value=1
CALL 'public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.E' type=kotlin.Unit origin=null
$this: GET_VAR 'e: <root>.E declared in <root>.test' type=<root>.E origin=null
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
VALUE_PARAMETER name:it index:0 type:kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
CONST Int type=kotlin.Int value=1
CALL 'public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.E' type=kotlin.Unit origin=null
$this: GET_VAR 'e: <root>.E declared in <root>.test' type=<root>.E origin=null
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
VALUE_PARAMETER name:it index:0 type:kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
CONST Int type=kotlin.Int value=1
CALL 'public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.F' type=kotlin.Unit origin=null
$this: GET_VAR 'f: <root>.F declared in <root>.test' type=<root>.F origin=null
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
VALUE_PARAMETER name:it index:0 type:kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
CONST Int type=kotlin.Int value=1
CALL 'public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.F' type=kotlin.Unit origin=null
$this: GET_VAR 'f: <root>.F declared in <root>.test' type=<root>.F origin=null
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
VALUE_PARAMETER name:it index:0 type:kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
CONST Int type=kotlin.Int value=1