Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-693

Improve TypeObject.toString()

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Low Low
    • 10.0.0
    • None
    • Binding codegen

      For TypeObject we end up emitting toString() in the form of:

      PlspId{_value=0}
      

      This does not quite align what we do for DataObjects, as there we use "value" instead of "_value".

      Note TypeObjects include also keys and other constructs, so they legally can have differently-named properties.

      At the very least we need to use a proper property name (not field name). Perhaps we could even omit the property name in case of single-attribute TypeObjects?

       

            ivanm1996 Ivan Martiniak
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: