eric-milles commented on PR #1785:
URL: https://github.com/apache/groovy/pull/1785#issuecomment-1255128099

   > If we're adding eachWithIndex it appears we also need each to satisfy STC. 
Can you add an each(int[]) as well?
   
   The reason I did not pick this ticket up after creating it is there was no 
reasonable stopping point.  If adding `eachWithIndex`, what about `each`, 
`reverseEach`, `every` and all the other `T[]` extensions.  I wonder if there 
is some way to write just one implementation and have all the primitive 
versions be generated automatically.  @paulk-asert Do you know of such a thing? 
 Or should we consider the possibility of allowing the `T[]` or `Object[]` 
apply to primitive arrays as well through Groovy "auto-unboxing"?


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