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

Map/List expressions as last expression of new object exprs.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1-beta-1
    • ast builder, parser
    • None

    Description

      allow new object expressions to take a Map or List expression as a last expression

      foo = new MySpecialMap(123, 10) [a:1, b:2];
      blah = new LinkedList [1, 2, 3, 4];

      Attachments

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              bob Bob Paulin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified