You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2020/09/16 21:37:44 UTC

[GitHub] [groovy] eric-milles opened a new pull request #1371: GROOVY-8961, GROOVY-9734: use type(s) from call site to resolve generics

eric-milles opened a new pull request #1371:
URL: https://github.com/apache/groovy/pull/1371


   `m(Collections.emptyList())` does not supply type arguments to `emptyList`
   
   https://issues.apache.org/jira/browse/GROOVY-8961
   https://issues.apache.org/jira/browse/GROOVY-9734
   
   
   This probably shares something in common with SAM-type coercion.  The code has become quite complex with regards to generics handling.  The errors reported in the issues come from `typeCheckMethodsWithGenericsOrFail`, so this seemed a good place to message argument types since it comes after visiting non-closure arguments and after determining the method call target, which is necessary to know the parameter target for each argument.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [groovy] asfgit closed pull request #1371: GROOVY-8961, GROOVY-9734: use type(s) from call site to resolve generics

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #1371:
URL: https://github.com/apache/groovy/pull/1371


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org