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

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

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: 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]

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: