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

List + List => Wrong Result

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0-JSR-2
    • Fix Version/s: 1.0-JSR-3
    • Component/s: None
    • Labels:
      None

      Description

      Addition of two lists does not work correctly,

      For example:

      x = [1,2]
      y = [3,4]
      z = x + y
      print z // [1,2,[3,4]]

      The value of z is not [1,2,3,4], but [1,2,[3,4]].

        Attachments

          Activity

            People

            • Assignee:
              blackdrag Jochen Theodorou
              Reporter:
              huxili Huxi LI
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: