FILE fqName:<root> fileName:/contravariantIntersectionType.kt
  CLASS CLASS name:BaseClass modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.BaseClass
    CONSTRUCTOR visibility:public returnType:<root>.BaseClass [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:BaseClass modality:ABSTRACT visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
    FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN returnType:kotlin.Boolean [fake_override,operator]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      VALUE_PARAMETER kind:Regular name:other index:1 type:kotlin.Any?
      overridden:
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN returnType:kotlin.Int [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun hashCode (): kotlin.Int declared in kotlin.Any
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN returnType:kotlin.String [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun toString (): kotlin.String declared in kotlin.Any
  CLASS CLASS name:ConcreteType modality:FINAL visibility:public superTypes:[<root>.BaseClass; <root>.BaseInterface]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.ConcreteType
    CONSTRUCTOR visibility:public returnType:<root>.ConcreteType [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.BaseClass'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:ConcreteType modality:FINAL visibility:public superTypes:[<root>.BaseClass; <root>.BaseInterface]' type=kotlin.Unit
    FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN returnType:kotlin.Boolean [fake_override,operator]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      VALUE_PARAMETER kind:Regular name:other index:1 type:kotlin.Any?
      overridden:
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.BaseClass
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.BaseInterface
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN returnType:kotlin.Int [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun hashCode (): kotlin.Int declared in <root>.BaseClass
        public open fun hashCode (): kotlin.Int declared in <root>.BaseInterface
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN returnType:kotlin.String [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun toString (): kotlin.String declared in <root>.BaseClass
        public open fun toString (): kotlin.String declared in <root>.BaseInterface
  CLASS CLASS name:ConcreteType2 modality:FINAL visibility:public superTypes:[<root>.BaseClass; <root>.BaseInterface]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.ConcreteType2
    CONSTRUCTOR visibility:public returnType:<root>.ConcreteType2 [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.BaseClass'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:ConcreteType2 modality:FINAL visibility:public superTypes:[<root>.BaseClass; <root>.BaseInterface]' type=kotlin.Unit
    FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN returnType:kotlin.Boolean [fake_override,operator]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      VALUE_PARAMETER kind:Regular name:other index:1 type:kotlin.Any?
      overridden:
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.BaseClass
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.BaseInterface
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN returnType:kotlin.Int [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun hashCode (): kotlin.Int declared in <root>.BaseClass
        public open fun hashCode (): kotlin.Int declared in <root>.BaseInterface
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN returnType:kotlin.String [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun toString (): kotlin.String declared in <root>.BaseClass
        public open fun toString (): kotlin.String declared in <root>.BaseInterface
  CLASS CLASS name:GenericHolder modality:FINAL visibility:public superTypes:[kotlin.Any]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.GenericHolder<T of <root>.GenericHolder>
    TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
    CONSTRUCTOR visibility:public returnType:<root>.GenericHolder<T of <root>.GenericHolder> [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:GenericHolder modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
    FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN returnType:kotlin.Boolean [fake_override,operator]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      VALUE_PARAMETER kind:Regular name:other index:1 type:kotlin.Any?
      overridden:
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN returnType:kotlin.Int [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun hashCode (): kotlin.Int declared in kotlin.Any
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN returnType:kotlin.String [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun toString (): kotlin.String declared in kotlin.Any
    FUN name:doOnSuccess visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.GenericHolder<T of <root>.GenericHolder>
      VALUE_PARAMETER kind:Regular name:onSuccess index:1 type:<root>.Consumer<in T of <root>.GenericHolder>
      BLOCK_BODY
        CALL 'public abstract fun accept (t: T of <root>.Consumer): kotlin.Unit declared in <root>.Consumer' type=kotlin.Unit origin=null
          ARG <this>: GET_VAR 'onSuccess: <root>.Consumer<in T of <root>.GenericHolder> declared in <root>.GenericHolder.doOnSuccess' type=<root>.Consumer<in T of <root>.GenericHolder> origin=null
          ARG t: TYPE_OP type=T of <root>.GenericHolder origin=CAST typeOperand=T of <root>.GenericHolder
            BLOCK type=<root>.GenericHolder.doOnSuccess.<no name provided><T of <root>.GenericHolder> origin=OBJECT_LITERAL
              CLASS CLASS name:<no name provided> modality:FINAL visibility:local superTypes:[<root>.BaseClass]
                thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.GenericHolder.doOnSuccess.<no name provided><T of <root>.GenericHolder>
                CONSTRUCTOR visibility:public returnType:<root>.GenericHolder.doOnSuccess.<no name provided><T of <root>.GenericHolder> [primary]
                  BLOCK_BODY
                    DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.BaseClass'
                    INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:<no name provided> modality:FINAL visibility:local superTypes:[<root>.BaseClass]' type=kotlin.Unit
                FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN returnType:kotlin.Boolean [fake_override,operator]
                  VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
                  VALUE_PARAMETER kind:Regular name:other index:1 type:kotlin.Any?
                  overridden:
                    public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.BaseClass
                FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN returnType:kotlin.Int [fake_override]
                  VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
                  overridden:
                    public open fun hashCode (): kotlin.Int declared in <root>.BaseClass
                FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN returnType:kotlin.String [fake_override]
                  VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
                  overridden:
                    public open fun toString (): kotlin.String declared in <root>.BaseClass
              CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.GenericHolder.doOnSuccess.<no name provided>' type=<root>.GenericHolder.doOnSuccess.<no name provided><T of <root>.GenericHolder> origin=OBJECT_LITERAL
  CLASS INTERFACE name:BaseInterface modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.BaseInterface
    FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN returnType:kotlin.Boolean [fake_override,operator]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      VALUE_PARAMETER kind:Regular name:other index:1 type:kotlin.Any?
      overridden:
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN returnType:kotlin.Int [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun hashCode (): kotlin.Int declared in kotlin.Any
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN returnType:kotlin.String [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun toString (): kotlin.String declared in kotlin.Any
  CLASS INTERFACE name:Consumer modality:ABSTRACT visibility:public [fun] superTypes:[kotlin.Any]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.Consumer<T of <root>.Consumer>
    TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
    FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN returnType:kotlin.Boolean [fake_override,operator]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      VALUE_PARAMETER kind:Regular name:other index:1 type:kotlin.Any?
      overridden:
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN returnType:kotlin.Int [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun hashCode (): kotlin.Int declared in kotlin.Any
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN returnType:kotlin.String [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun toString (): kotlin.String declared in kotlin.Any
    FUN name:accept visibility:public modality:ABSTRACT returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.Consumer<T of <root>.Consumer>
      VALUE_PARAMETER kind:Regular name:t index:1 type:T of <root>.Consumer
  FUN name:box visibility:public modality:FINAL returnType:kotlin.String
    BLOCK_BODY
      CALL 'public final fun example (input: kotlin.Int): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
        ARG input: CONST Int type=kotlin.Int value=0
      RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
        CONST String type=kotlin.String value="OK"
  FUN name:example visibility:public modality:FINAL returnType:kotlin.Unit
    VALUE_PARAMETER kind:Regular name:input index:0 type:kotlin.Int
    BLOCK_BODY
      VAR name:instance type:<root>.GenericHolder<out kotlin.Any> [val]
        BLOCK type=<root>.GenericHolder<out kotlin.Any> origin=WHEN
          VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int [val]
            GET_VAR 'input: kotlin.Int declared in <root>.example' type=kotlin.Int origin=null
          WHEN type=<root>.GenericHolder<out kotlin.Any> origin=WHEN
            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
                ARG arg0: GET_VAR 'val tmp_0: kotlin.Int declared in <root>.example' type=kotlin.Int origin=null
                ARG arg1: CONST Int type=kotlin.Int value=0
              then: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.GenericHolder' type=<root>.GenericHolder<<root>.ConcreteType> origin=null
                TYPE_ARG (of class) T: <root>.ConcreteType
            BRANCH
              if: CONST Boolean type=kotlin.Boolean value=true
              then: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.GenericHolder' type=<root>.GenericHolder<<root>.ConcreteType2> origin=null
                TYPE_ARG (of class) T: <root>.ConcreteType2
      CALL 'public final fun doOnSuccess (onSuccess: <root>.Consumer<in T of <root>.GenericHolder>): kotlin.Unit declared in <root>.GenericHolder' type=kotlin.Unit origin=null
        ARG <this>: GET_VAR 'val instance: <root>.GenericHolder<out kotlin.Any> declared in <root>.example' type=<root>.GenericHolder<out kotlin.Any> origin=null
        ARG onSuccess: TYPE_OP type=<root>.Consumer<kotlin.Any?> origin=SAM_CONVERSION typeOperand=<root>.Consumer<kotlin.Any?>
          TYPE_OP type=kotlin.Function1<@[ParameterName(name = "t")] kotlin.Any?, kotlin.Unit> origin=IMPLICIT_CAST typeOperand=kotlin.Function1<@[ParameterName(name = "t")] kotlin.Any?, kotlin.Unit>
            FUN_EXPR type=kotlin.Function1<kotlin.Nothing, kotlin.Unit> origin=LAMBDA
              FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL returnType:kotlin.Unit
                VALUE_PARAMETER kind:Regular name:it index:0 type:kotlin.Any
                BLOCK_BODY
                  RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Any): kotlin.Unit declared in <root>.example'
                    GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
      CALL 'public final fun doOnSuccess (onSuccess: <root>.Consumer<in T of <root>.GenericHolder>): kotlin.Unit declared in <root>.GenericHolder' type=kotlin.Unit origin=null
        ARG <this>: GET_VAR 'val instance: <root>.GenericHolder<out kotlin.Any> declared in <root>.example' type=<root>.GenericHolder<out kotlin.Any> origin=null
        ARG onSuccess: TYPE_OP type=<root>.Consumer<kotlin.Any?> origin=SAM_CONVERSION typeOperand=<root>.Consumer<kotlin.Any?>
          TYPE_OP type=kotlin.Function1<@[ParameterName(name = "t")] kotlin.Any?, kotlin.Unit> origin=IMPLICIT_CAST typeOperand=kotlin.Function1<@[ParameterName(name = "t")] kotlin.Any?, kotlin.Unit>
            FUNCTION_REFERENCE 'public final fun functionReference (x: kotlin.Any): kotlin.Unit declared in <root>' type=kotlin.reflect.KFunction1<kotlin.Any, kotlin.Unit> origin=null reflectionTarget=<same>
  FUN name:functionReference visibility:public modality:FINAL returnType:kotlin.Unit
    VALUE_PARAMETER kind:Regular name:x index:0 type:kotlin.Any
    BLOCK_BODY
