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

Java compatibility: support multi-dimensional array initializers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.0.0-alpha-11
    • parser-antlr4
    • None

    Description

      GROOVY-3791 indicates support for Java-style array initializer is now supported by Parrot Parser. However, a compact multi-dimensional initializer still fails:

      def strings = new String[][] { { "a", "b", "c" }, { "1", "2", "3" } }
      

      Attachments

        Issue Links

          Activity

            People

              emilles Eric Milles
              emilles Eric Milles
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: