groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul King <pa...@asert.com.au>
Subject Re: [VOTE] Release Apache Groovy 2.5.0-rc-3
Date Mon, 21 May 2018 11:17:05 GMT
No bug in your example. X is picked up correctly normally but not for the
forward reference in Daniel's example.
So in Daniel's example the forward reference issue is one bug (now fixed).
As to whether there is another bug I haven't checked. I'd say quite
possibly.


On Mon, May 21, 2018 at 8:32 PM, Jochen Theodorou <blackdrag@gmx.org> wrote:

> On 21.05.2018 03:23, Paul King wrote:
>
>>
>> I suspect there is some stray "X" class on the test classpath which keeps
>> the early checks happy until later resolution. Thanks for the fix.
>>
>
>
> isn't that a bug? If I declare
>
> class T<X> { X x}
>
> then I expect the generics used for the x property, not the class X, even
> if there is such a class. I am pretty sure Java is doing that, but even if
> it did not I would do that
>
> bye Jochen
>
>

Mime
View raw message