You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by blindpirate <gi...@git.apache.org> on 2016/10/10 10:05:21 UTC

[GitHub] groovy pull request #446: GROOVY-7291 Declaration of double variable without...

GitHub user blindpirate opened a pull request:

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

    GROOVY-7291 Declaration of double variable without value assignment referrenced in closure

    According to [GROOVY-5570](https://issues.apache.org/jira/browse/GROOVY-5570), a variable referenced by closure must be non-primitive type, and it results in [GROOVY-7291](https://issues.apache.org/jira/browse/GROOVY-7291). In this case, I replace the EmptyExpression to a ConstantExpression with value 0.

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

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

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

    https://github.com/apache/groovy/pull/446.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 #446
    
----
commit f8cb9b233ec1cfa4594f4d544ab12f9311cd4165
Author: zhangbo <zh...@nanchao.org>
Date:   2016-10-10T09:53:36Z

    fix groovy 7291 bug

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] groovy pull request #446: GROOVY-7291 Declaration of double variable without...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---