FILE fqName:<root> fileName:/assignments.kt
  CLASS CLASS name:Ref modality:FINAL visibility:public flags:
    $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Ref flags:
    superClasses:
      CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
    CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:Ref flags:
      VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
        INSTANCE_INITIALIZER_CALL classDescriptor='Ref'
    PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:var
      FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public
        EXPRESSION_BODY
          GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
      FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:Ref) returnType:Int flags:
        $this: VALUE_PARAMETER name:<this> type:Ref flags:
        BLOCK_BODY
          RETURN type=kotlin.Nothing from='<get-x>(): Int'
            GET_FIELD 'x: Int' type=kotlin.Int origin=null
              receiver: GET_VAR 'this@Ref: Ref' type=Ref origin=null
      FUN DEFAULT_PROPERTY_ACCESSOR name:<set-x> visibility:public modality:FINAL <> ($this:Ref, <set-?>:kotlin.Int) returnType:Unit flags:
        $this: VALUE_PARAMETER name:<this> type:Ref flags:
        VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
        BLOCK_BODY
          SET_FIELD 'x: Int' type=kotlin.Unit origin=null
            receiver: GET_VAR 'this@Ref: Ref' type=Ref origin=null
            value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
    FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
      overridden:
        FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType: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:Int flags:
      overridden:
        FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:Int flags:
      $this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
      overridden:
        FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
      $this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
  FUN name:test1 visibility:public modality:FINAL <> () returnType:Unit flags:
    BLOCK_BODY
      VAR name:x type:kotlin.Int flags:var
        CONST Int type=kotlin.Int value=0
      SET_VAR 'x: Int' type=kotlin.Unit origin=EQ
        CONST Int type=kotlin.Int value=1
      SET_VAR 'x: Int' type=kotlin.Unit origin=EQ
        CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
          $this: GET_VAR 'x: Int' type=kotlin.Int origin=null
          other: CONST Int type=kotlin.Int value=1
  FUN name:test2 visibility:public modality:FINAL <> (r:Ref) returnType:Unit flags:
    VALUE_PARAMETER name:r index:0 type:Ref flags:
    BLOCK_BODY
      CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ
        $this: GET_VAR 'value-parameter r: Ref' type=Ref origin=null
        <set-?>: CONST Int type=kotlin.Int value=0

