Re: @DelegatesTo for Closures used in annotations

2021-08-05 Thread Daniil Ovchinnikov
Since the delegation is effectively a part of a closure type, I’d expect @DelegatesTo to have TYPE_USE target. Of course, it’s now tailored for parameters, so it probably should be a different annotation. `genericTypeIndex` and `target` doesn’t make sense in TYPE_USE, so we are left with `value

Re: @DelegatesTo for Closures used in annotations

2021-08-05 Thread Marcin Zajączkowski
I've been asking about the same thing back in 2020 with some proposals, but unfortunately without any reply: https://mail-archives.apache.org/mod_mbox/groovy-users/202001.mbox/%3cb62eefce-5d71-f394-8024-f2dd93c12...@wp.pl%3e Nevertheless, maybe this time something constructive will be determined.

Re: @DelegatesTo for Closures used in annotations

2021-08-05 Thread Paul King
Marcin, I know we didn't progress, but do you recall whether we created an issue last time? On Thu, Aug 5, 2021 at 10:08 PM Marcin Zajączkowski wrote: > I've been asking about the same thing back in 2020 with some proposals, > but unfortunately without any reply: > > https://mail-archives.apache