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

Fall through to method closures call from the binding of a script

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-beta-8
    • 1.0-beta-8
    • None
    • None

    Description

      When a script doesn't find a given method, Groovy should try to see if there's a method closure in the script's binding that can be called.
      Thus, it is possible to provide a method closure in the binding at runtime and make the script call it.

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            guillaume Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: