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

Ability to create empty multi-D arrays

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-4
    • 1.0-JSR-5
    • None
    • None

    Description

      Right now we can create multi-D arrays if we specify the contents, but not empty ones.

      Proposed syntax: same as Java, e.g.

      String[][] myMultiDStringArray = new String[5][2]

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            mcspanky Martin C. Martin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: