blackdrag commented on PR #1970:
URL: https://github.com/apache/groovy/pull/1970#issuecomment-1769267973
could you please add a test case:
interface A<G1, G2> {
}
class B<G3> implements A<Long, G3>{
}
A<Long, String> a = new B<>()
oh yes.. using shouldCompile would be better than assertScript where
possible. We have to test we repeating names for generic types because of
mistakes, that have been don in the past where generic types leaked to other
classes with the wrong name, and then solutions that worked only because of the
just mentioned reason and not if the names are different.
--
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]