groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shil Sinha <shil.si...@gmail.com>
Subject Re: Proposal: allow @DelegatesTo on Map arguments
Date Tue, 04 Oct 2016 20:09:49 GMT
+1 I was writing a type checking extension that did this but it would much
better if it were built into the compiler itself

On Tue, Oct 4, 2016 at 11:18 AM, Jochen Theodorou <blackdrag@gmx.org> wrote:

> sounds good
>
>
> On 04.10.2016 14:56, Graeme Rocher 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?
>>
>>

Mime
View raw message