FILE fqName:<root> fileName:/when.kt
  CLASS OBJECT name:A modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
    $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:A flags:
    CONSTRUCTOR visibility:private <> () returnType:A flags:primary
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
        INSTANCE_INITIALIZER_CALL classDescriptor='A'
    FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
      overridden:
        FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
      $this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
      VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
      overridden:
        FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
      $this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
      overridden:
        FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
      $this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
  FUN name:testWithSubject visibility:public modality:FINAL <> (x:kotlin.Any?) returnType:kotlin.String flags:
    VALUE_PARAMETER name:x index:0 type:kotlin.Any? flags:
    BLOCK_BODY
      RETURN type=kotlin.Nothing from='testWithSubject(Any?): String'
        BLOCK type=kotlin.String origin=WHEN
          VAR IR_TEMPORARY_VARIABLE name:tmp0_subject type:kotlin.Any? flags:val
            GET_VAR 'value-parameter x: Any?' type=kotlin.Any? origin=null
          WHEN type=kotlin.String origin=WHEN
            BRANCH
              if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
                arg0: GET_VAR 'tmp0_subject: Any?' type=kotlin.Any? origin=null
                arg1: CONST Null type=kotlin.Nothing? value=null
              then: CONST String type=kotlin.String value="null"
            BRANCH
              if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
                arg0: GET_VAR 'tmp0_subject: Any?' type=kotlin.Any? origin=null
                arg1: GET_OBJECT 'A' type=A
              then: CONST String type=kotlin.String value="A"
            BRANCH
              if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.String
                typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:String modality:FINAL visibility:public flags: superTypes:[kotlin.Comparable<kotlin.String>; kotlin.CharSequence; java.io.Serializable]
                GET_VAR 'tmp0_subject: Any?' type=kotlin.Any? origin=null
              then: CONST String type=kotlin.String value="String"
            BRANCH
              if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCL
                arg0: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.Number
                  typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Number modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any; java.io.Serializable]
                  GET_VAR 'tmp0_subject: Any?' type=kotlin.Any? origin=null
              then: CONST String type=kotlin.String value="!Number"
            BRANCH
              if: CALL 'contains(T) on Iterable<T>: Boolean' type=kotlin.Boolean origin=IN
                <T>: kotlin.Number
                $receiver: CALL 'setOf(): Set<T>' type=kotlin.collections.Set<kotlin.Nothing> origin=null
                  <T>: kotlin.Nothing
                element: TYPE_OP type=kotlin.Number origin=IMPLICIT_CAST typeOperand=kotlin.Number
                  typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Number modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any; java.io.Serializable]
                  GET_VAR 'tmp0_subject: Any?' type=kotlin.Any? origin=null
              then: CONST String type=kotlin.String value="nothingness?"
            BRANCH
              if: CONST Boolean type=kotlin.Boolean value=true
              then: CONST String type=kotlin.String value="something"
  FUN name:test visibility:public modality:FINAL <> (x:kotlin.Any?) returnType:kotlin.String flags:
    VALUE_PARAMETER name:x index:0 type:kotlin.Any? flags:
    BLOCK_BODY
      RETURN type=kotlin.Nothing from='test(Any?): String'
        WHEN type=kotlin.String origin=WHEN
          BRANCH
            if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
              arg0: GET_VAR 'value-parameter x: Any?' type=kotlin.Any? origin=null
              arg1: CONST Null type=kotlin.Nothing? value=null
            then: CONST String type=kotlin.String value="null"
          BRANCH
            if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
              arg0: GET_VAR 'value-parameter x: Any?' type=kotlin.Any? origin=null
              arg1: GET_OBJECT 'A' type=A
            then: CONST String type=kotlin.String value="A"
          BRANCH
            if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.String
              typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:String modality:FINAL visibility:public flags: superTypes:[kotlin.Comparable<kotlin.String>; kotlin.CharSequence; java.io.Serializable]
              GET_VAR 'value-parameter x: Any?' type=kotlin.Any? origin=null
            then: CONST String type=kotlin.String value="String"
          BRANCH
            if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.Number
              typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Number modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any; java.io.Serializable]
              GET_VAR 'value-parameter x: Any?' type=kotlin.Any? origin=null
            then: CONST String type=kotlin.String value="!Number"
          BRANCH
            if: CALL 'contains(T) on Iterable<T>: Boolean' type=kotlin.Boolean origin=IN
              <T>: kotlin.Number
              $receiver: CALL 'setOf(): Set<T>' type=kotlin.collections.Set<kotlin.Nothing> origin=null
                <T>: kotlin.Nothing
              element: TYPE_OP type=kotlin.Number origin=IMPLICIT_CAST typeOperand=kotlin.Number
                typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Number modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any; java.io.Serializable]
                GET_VAR 'value-parameter x: Any?' type=kotlin.Any? origin=null
            then: CONST String type=kotlin.String value="nothingness?"
          BRANCH
            if: CONST Boolean type=kotlin.Boolean value=true
            then: CONST String type=kotlin.String value="something"
  FUN name:testComma visibility:public modality:FINAL <> (x:kotlin.Int) returnType:kotlin.String flags:
    VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
    BLOCK_BODY
      RETURN type=kotlin.Nothing from='testComma(Int): String'
        BLOCK type=kotlin.String origin=WHEN
          VAR IR_TEMPORARY_VARIABLE name:tmp0_subject type:kotlin.Int flags:val
            GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
          WHEN type=kotlin.String origin=WHEN
            BRANCH
              if: WHEN type=kotlin.Boolean origin=WHEN_COMMA
                BRANCH
                  if: WHEN type=kotlin.Boolean origin=WHEN_COMMA
                    BRANCH
                      if: WHEN type=kotlin.Boolean origin=WHEN_COMMA
                        BRANCH
                          if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
                            arg0: GET_VAR 'tmp0_subject: Int' type=kotlin.Int origin=null
                            arg1: CONST Int type=kotlin.Int value=1
                          then: CONST Boolean type=kotlin.Boolean value=true
                        BRANCH
                          if: CONST Boolean type=kotlin.Boolean value=true
                          then: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
                            arg0: GET_VAR 'tmp0_subject: Int' type=kotlin.Int origin=null
                            arg1: CONST Int type=kotlin.Int value=2
                      then: CONST Boolean type=kotlin.Boolean value=true
                    BRANCH
                      if: CONST Boolean type=kotlin.Boolean value=true
                      then: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
                        arg0: GET_VAR 'tmp0_subject: Int' type=kotlin.Int origin=null
                        arg1: CONST Int type=kotlin.Int value=3
                  then: CONST Boolean type=kotlin.Boolean value=true
                BRANCH
                  if: CONST Boolean type=kotlin.Boolean value=true
                  then: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
                    arg0: GET_VAR 'tmp0_subject: Int' type=kotlin.Int origin=null
                    arg1: CONST Int type=kotlin.Int value=4
              then: CONST String type=kotlin.String value="1234"
            BRANCH
              if: WHEN type=kotlin.Boolean origin=WHEN_COMMA
                BRANCH
                  if: WHEN type=kotlin.Boolean origin=WHEN_COMMA
                    BRANCH
                      if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
                        arg0: GET_VAR 'tmp0_subject: Int' type=kotlin.Int origin=null
                        arg1: CONST Int type=kotlin.Int value=5
                      then: CONST Boolean type=kotlin.Boolean value=true
                    BRANCH
                      if: CONST Boolean type=kotlin.Boolean value=true
                      then: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
                        arg0: GET_VAR 'tmp0_subject: Int' type=kotlin.Int origin=null
                        arg1: CONST Int type=kotlin.Int value=6
                  then: CONST Boolean type=kotlin.Boolean value=true
                BRANCH
                  if: CONST Boolean type=kotlin.Boolean value=true
                  then: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
                    arg0: GET_VAR 'tmp0_subject: Int' type=kotlin.Int origin=null
                    arg1: CONST Int type=kotlin.Int value=7
              then: CONST String type=kotlin.String value="567"
            BRANCH
              if: WHEN type=kotlin.Boolean origin=WHEN_COMMA
                BRANCH
                  if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
                    arg0: GET_VAR 'tmp0_subject: Int' type=kotlin.Int origin=null
                    arg1: CONST Int type=kotlin.Int value=8
                  then: CONST Boolean type=kotlin.Boolean value=true
                BRANCH
                  if: CONST Boolean type=kotlin.Boolean value=true
                  then: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
                    arg0: GET_VAR 'tmp0_subject: Int' type=kotlin.Int origin=null
                    arg1: CONST Int type=kotlin.Int value=9
              then: CONST String type=kotlin.String value="89"
            BRANCH
              if: CONST Boolean type=kotlin.Boolean value=true
              then: CONST String type=kotlin.String value="?"
