FILE /assignments.kt
  CLASS CLASS Ref
    CONSTRUCTOR public constructor Ref(x: kotlin.Int)
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
        INSTANCE_INITIALIZER_CALL classDescriptor='Ref'
    PROPERTY public final var x: kotlin.Int
      FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
        EXPRESSION_BODY
          GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
      FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
        BLOCK_BODY
          RETURN type=kotlin.Nothing from='<get-x>(): Int'
            GET_FIELD 'x: Int' type=kotlin.Int origin=null
              receiver: GET_VAR '<receiver: Ref>' type=Ref origin=null
      FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
        BLOCK_BODY
          SET_FIELD 'x: Int' type=kotlin.Unit origin=null
            receiver: GET_VAR '<receiver: Ref>' type=Ref origin=null
            value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
  FUN public fun test1(): kotlin.Unit
    BLOCK_BODY
      VAR var x: kotlin.Int
        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 public fun test2(r: Ref): kotlin.Unit
    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'
