groovy
  1. groovy
  2. GROOVY-1543

Support multiple declarations at once: def a,b = 1,2

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6-beta-2
    • Component/s: syntax
    • Labels:
      None
    • Number of attachments :
      0

      Description

      We should support multiple declarations at once:

      def a, b = 1,2

      Or more advanced

      def a, b = [1,2,3], [4,5,6]

        Issue Links

          Activity

          Guillaume Laforge made changes -
          Field Original Value New Value
          Link This issue is duplicated by GROOVY-1544 [ GROOVY-1544 ]
          Guillaume Laforge made changes -
          Assignee Guillaume Laforge [ guillaume ]
          Guillaume Laforge made changes -
          Fix Version/s 1.1-beta-2 [ 10436 ]
          Paul King made changes -
          Link This issue is related to GROOVY-158 [ GROOVY-158 ]
          blackdrag blackdrag made changes -
          Fix Version/s 1.6 [ 13832 ]
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Assignee Jochen Theodorou [ blackdrag ]
          blackdrag blackdrag made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          blackdrag blackdrag made changes -
          Fix Version/s 1.6-beta-2 [ 14261 ]
          Fix Version/s 1.6 [ 13832 ]
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]

            People

            • Assignee:
              blackdrag blackdrag
              Reporter:
              Graeme Rocher
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: