FILE fqName:<root> fileName:/delegationToIntersectionType.kt
  CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.A; <root>.B]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.C
    CONSTRUCTOR visibility:public returnType:<root>.C [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.A; <root>.B]' 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>.A
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.B
    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>.A
        public open fun hashCode (): kotlin.Int declared in <root>.B
    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>.A
        public open fun toString (): kotlin.String declared in <root>.B
    FUN name:foo visibility:public modality:OPEN returnType:kotlin.String
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.C
      overridden:
        public abstract fun foo (): kotlin.String declared in <root>.B
      BLOCK_BODY
        RETURN type=kotlin.Nothing from='public open fun foo (): kotlin.String declared in <root>.C'
          CONST String type=kotlin.String value="OK"
  CLASS CLASS name:D modality:FINAL visibility:public superTypes:[<root>.A; <root>.B]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.D
    CONSTRUCTOR visibility:public returnType:<root>.D [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:D modality:FINAL visibility:public superTypes:[<root>.A; <root>.B]' 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>.A
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.B
    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>.A
        public open fun hashCode (): kotlin.Int declared in <root>.B
    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>.A
        public open fun toString (): kotlin.String declared in <root>.B
    FUN name:foo visibility:public modality:OPEN returnType:kotlin.String
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.D
      overridden:
        public abstract fun foo (): kotlin.String declared in <root>.B
      BLOCK_BODY
        RETURN type=kotlin.Nothing from='public open fun foo (): kotlin.String declared in <root>.D'
          CONST String type=kotlin.String value="FAIL"
  CLASS INTERFACE name:A modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.A
    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:B modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.B
    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:foo visibility:public modality:ABSTRACT returnType:kotlin.String
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.B
  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 test (c: <root>.C, d: <root>.D): kotlin.String declared in <root>' type=kotlin.String origin=null
          ARG c: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.C' type=<root>.C origin=null
          ARG d: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.D' type=<root>.D origin=null
  FUN name:select visibility:public modality:FINAL returnType:T of <root>.select
    TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
    VALUE_PARAMETER kind:Regular name:a index:0 type:T of <root>.select
    VALUE_PARAMETER kind:Regular name:b index:1 type:T of <root>.select
    BLOCK_BODY
      RETURN type=kotlin.Nothing from='public final fun select <T> (a: T of <root>.select, b: T of <root>.select): T of <root>.select declared in <root>'
        GET_VAR 'a: T of <root>.select declared in <root>.select' type=T of <root>.select origin=null
  FUN name:test visibility:public modality:FINAL returnType:kotlin.String
    VALUE_PARAMETER kind:Regular name:c index:0 type:<root>.C
    VALUE_PARAMETER kind:Regular name:d index:1 type:<root>.D
    BLOCK_BODY
      VAR name:intersection type:kotlin.Any [val]
        CALL 'public final fun select <T> (a: T of <root>.select, b: T of <root>.select): T of <root>.select declared in <root>' type=kotlin.Any origin=null
          TYPE_ARG T: kotlin.Any
          ARG a: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
          ARG b: GET_VAR 'd: <root>.D declared in <root>.test' type=<root>.D origin=null
      RETURN type=kotlin.Nothing from='public final fun test (c: <root>.C, d: <root>.D): kotlin.String declared in <root>'
        CALL 'public open fun foo (): kotlin.String declared in <root>.test.<no name provided>' type=kotlin.String origin=null
          ARG <this>: BLOCK type=<root>.test.<no name provided> origin=OBJECT_LITERAL
            CLASS CLASS name:<no name provided> modality:FINAL visibility:local superTypes:[<root>.B]
              thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.test.<no name provided>
              FIELD DELEGATE name:$$delegate_0 type:kotlin.Any visibility:private [final]
                EXPRESSION_BODY
                  GET_VAR 'val intersection: kotlin.Any declared in <root>.test' type=kotlin.Any origin=null
              CONSTRUCTOR visibility:public returnType:<root>.test.<no name provided> [primary]
                BLOCK_BODY
                  DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
                  INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:<no name provided> modality:FINAL visibility:local superTypes:[<root>.B]' type=kotlin.Unit
              FUN DELEGATED_MEMBER name:foo visibility:public modality:OPEN returnType:kotlin.String
                VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.test.<no name provided>
                overridden:
                  public abstract fun foo (): kotlin.String declared in <root>.B
                BLOCK_BODY
                  RETURN type=kotlin.Nothing from='public open fun foo (): kotlin.String declared in <root>.test.<no name provided>'
                    CALL 'public abstract fun foo (): kotlin.String declared in <root>.B' type=kotlin.String origin=null
                      ARG <this>: TYPE_OP type=<root>.B origin=IMPLICIT_CAST typeOperand=<root>.B
                        GET_FIELD 'FIELD DELEGATE name:$$delegate_0 type:kotlin.Any visibility:private [final] declared in <root>.test.<no name provided>' type=kotlin.Any origin=null
                          receiver: GET_VAR '<this>: <root>.test.<no name provided> declared in <root>.test.<no name provided>.foo' type=<root>.test.<no name provided> origin=null
              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>.B
              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>.B
              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>.B
            CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.test.<no name provided>' type=<root>.test.<no name provided> origin=OBJECT_LITERAL
