[
https://issues.apache.org/jira/browse/GROOVY-6519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Theodorou updated GROOVY-6519:
-------------------------------------
Parent: (was: GROOVY-6518)
Issue Type: Improvement (was: Sub-task)
> removing direct usage of Binding from script
> --------------------------------------------
>
> Key: GROOVY-6519
> URL: https://issues.apache.org/jira/browse/GROOVY-6519
> Project: Groovy
> Issue Type: Improvement
> Reporter: Jochen Theodorou
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)