paulk-asert opened a new pull request, #2833:
URL: https://github.com/apache/groovy/pull/2833

   …ited generic method it delegates to
   
   Some compilers (ECJ for one) redeclare inherited generic methods as erased 
synthetic bridge methods directly on the subclass. The synthetic-override guard 
in removeCovariantsAndInterfaceEquivalents was meant to keep the generic 
original in that case, but a type variable's ClassNode compares equal to its 
own erasure via redirect, so the guard never fired and the bridge's raw return 
type was inferred (e.g. weld-spock's self-recursive Builder: "Cannot assign 
value of type AbstractWeldInitiator$AbstractBuilder to variable of type 
WeldInitiator$Builder").


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to