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

[GitHub] groovy pull request #536: Improve type inference/STC compatibility of Sql me...

GitHub user shils opened a pull request:

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

    Improve type inference/STC compatibility of Sql methods with closure parameters

    This PR adds @ClosureParams to closure parameters of the following methods in Sql and DataSet:
    * asList
    * eachRow
    * each
    * query
    * rows
    * withStatement
    
    I haven't created a Jira issue for this, but can do so if people think it's worth tracking.

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

    $ git pull https://github.com/shils/groovy sql-closure-params

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

    https://github.com/apache/groovy/pull/536.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 #536
    
----
commit e7f20ea2e141ef2209a80eb7e744bc708c3f396f
Author: Shil Sinha <sh...@apache.org>
Date:   2017-05-01T00:01:27Z

    Sql, DataSet: Add @ClosureParams to closure parameters of following methods:
    * asList
    * eachRow
    * each
    * query
    * rows
    * withStatement

----


---
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 #536: Improve type inference/STC compatibility of Sql me...

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

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


---
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.
---