GitHub user blindpirate opened a pull request:

    https://github.com/apache/groovy/pull/455

    GROOVY-7797 Private trait method called from within a closure has the wrong 
"this" context

    Use helper class as method receiver instead of wrong "this" when private 
trait method in a closure is called.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/blindpirate/groovy groovy7797

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/groovy/pull/455.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #455
    
----
commit 626e1d4734b701b3576886448cb578fc71ecc8c7
Author: zhangbo <[email protected]>
Date:   2016-11-02T05:33:32Z

    fix groovy7797 - assign correct receiver in closure

commit 824845f989cdd203c2cf3a8875167e99d1d49685
Author: zhangbo <[email protected]>
Date:   2016-11-02T05:39:06Z

    refactor to remove duplicate code

commit ac9098892b788902ba97bd3e2e6cfd88c70ae4c6
Author: zhangbo <[email protected]>
Date:   2016-11-02T05:46:33Z

    refactor a huge monster method which is over 100 lines

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to