Also I'm not sure I'm seeing what it brings to have that annotation in 1.8,
could you enlighten me please?


On Thu, Jan 10, 2013 at 3:14 PM, Guillaume Laforge <glafo...@gmail.com>wrote:

> Hi Luke,
>
> On Thu, Jan 10, 2013 at 3:04 PM, Luke Daley <luke.da...@gradleware.com>wrote:
>
>> [...]
>> >       • @DelegatesTo annotation: to help IDEs and the static type
>> checker and compiler to know that method calls in a method parameter
>> closure are delegated to another parameter of the method -- nice for DSLs
>> like in Gradle build files
>>
>> Is there any possibility of getting this backported to the 1.x line?
>>
>> We can't upgrade to Groovy 2 until Gradle 2 because of the breaking
>> binary incompatibilities, and other backwards incompatible changes.
>>
>
> We could partially backport it, in the sense that we would "just" add the
> annotation to the 1.8 line, but we wouldn't add the static type checking
> and compilation support since that was only available starting from 2.0.
>
> But the annotation is really just an annotation in the end, hence good for
> documentation purpose and for IDE support (pending Eclipse and IntelliJ
> IDEA support that hint)
>
>
>>  [...]
>
>
>
> --
> Guillaume Laforge
> Groovy Project Manager
> SpringSource, a division of VMware
>
> Blog: http://glaforge.appspot.com/
> Social: @glaforge <http://twitter.com/glaforge> / 
> Google+<https://plus.google.com/u/0/114130972232398734985/posts>
>



-- 
Guillaume Laforge
Groovy Project Manager
SpringSource, a division of VMware

Blog: http://glaforge.appspot.com/
Social: @glaforge <http://twitter.com/glaforge> /
Google+<https://plus.google.com/u/0/114130972232398734985/posts>

Reply via email to