Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6518 Mop2 implementation steps
  3. GROOVY-6519

removing direct usage of Binding from script

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Instead of forcing Script to use Binding as a wrapper always, we can introduce a loose connection by dynamic invocation then. This way it is possible to use any object for the binding and it becomes more like a delegate in Closure. The delegate has of course influence on the semantics here. If a map is used, there won't be an exception in case an unused variable is read in the script for example.

      Attachments

        Activity

          People

            Unassigned Unassigned
            blackdrag Jochen Theodorou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: