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

method invocation with syntactic sugar for closures

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.0-beta-1
    • ast builder, parser
    • None

    Description

      support method invocation where last parameter can be specified as a closure

      collection.each

      {i| print(i); }

      table(valign:"Centre") {
      tr {
      td("hello") {
      }
      }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bob Bob Paulin
            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

              Slack

                Issue deployment