groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Bayer <andrew.ba...@gmail.com>
Subject Re: Proposal: allow @DelegatesTo on Map arguments
Date Tue, 04 Oct 2016 13:31:14 GMT
I was just wishing for this a couple weeks ago! I'd love to see this added.

A.

On Oct 4, 2016 2:57 PM, "Graeme Rocher" <graeme.rocher@gmail.com> wrote:

> Hi all,
>
> I would like to propose adding support for @DelegatesTo on named
> arguments (Map types) in order to improve static compilation support
> for builders. I have written up
>
> https://issues.apache.org/jira/browse/GROOVY-7956
>
> For the proposal.
>
> Here are some considerations:
>
> * Keys have to be Strings (property names)
> * Values have to type checked
>
> Thoughts?
>
> --
> Graeme Rocher
>

Mime
View raw message