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

Change Default Resolve Strategy Used For .with Method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6-beta-1, 1.5.7
    • 1.6-rc-1, 1.7-beta-1
    • None
    • None

    Description

      The current behavior of .with{} is not optimal. The problem is that the default resolutionStrategy is in play (OWNER_FIRST) which really doesn't make sense in the context of .with{}. The delegate should get first crack.

      Attachments

        Activity

          People

            brownj Jeff Brown
            brownj Jeff Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: