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

MapExpression#getText incorrect for empty map

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.7.10, 1.8.0
    • Fix Version/s: 1.8.1, 1.7.11
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch

      Description

      For an empty map - e.g.

      a = [:]
      

      MapExpression#getText returns [] but should return [:].

        Attachments

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              rene.scheibe Rene Scheibe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: