Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3252

Fix DGM toString for Map and Collection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6-rc-1
    • 1.6-rc-2
    • None
    • None
    • Patch

    Description

      In Groovy code, the toString() method does not produce a Groovy formatted string for Map or Collection.

      The problem is that the toString(Map) and toString(Collection) methods can't work because they're declared on interfaces and DGM methods must be declared on an implementation class in order to be dispatched.

      Attachments

        1. patch-tostring-public.txt
          2 kB
          James P. White

        Activity

          People

            jimwhite James P. White
            jimwhite James P. White
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: