Groovy
  1. Groovy
  2. GROOVY-1543

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

    Details

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

      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

          Graeme Rocher created issue -
          Guillaume Delcroix made changes -
          Field Original Value New Value
          Link This issue is duplicated by GROOVY-1544 [ GROOVY-1544 ]
          Guillaume Delcroix made changes -
          Assignee Guillaume Laforge [ guillaume ]
          Guillaume Delcroix made changes -
          Fix Version/s 1.1-beta-2 [ 10436 ]
          Paul King made changes -
          Link This issue is related to GROOVY-158 [ GROOVY-158 ]
          Jochen Theodorou made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Assignee Jochen Theodorou [ blackdrag ]
          Fix Version/s 1.6 [ 13832 ]
          Jochen Theodorou made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Jochen Theodorou made changes -
          Fix Version/s 1.6 [ 13832 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Fix Version/s 1.6-beta-2 [ 14261 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
          Mark Thomas made changes -
          Workflow jira [ 12730674 ] Default workflow, editable Closed status [ 12742631 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
          Mark Thomas made changes -
          Workflow jira [ 12969014 ] Default workflow, editable Closed status [ 12976797 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development