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

Binding is not passed to the script if the parsed script text contains no statements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1-rc-2
    • 1.1-rc-3
    • None
    • None

    Description

      This looks like a very exotic use case. But if you do a lot of automatic script generation, this is a real nuisance. You have to always put some dummy statement into the text to make things work.

      Attachments

        1. InvokerHelper.patch
          4 kB
          Hans Dockter
        2. BindingTest.groovy
          1 kB
          Hans Dockter

        Activity

          People

            paulk Paul King
            hans_d Hans Dockter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: