paulk-asert commented on code in PR #1785:
URL: https://github.com/apache/groovy/pull/1785#discussion_r977124640


##########
src/spec/test/typing/TypeCheckingTest.groovy:
##########
@@ -44,6 +44,23 @@ class TypeCheckingTest extends StaticTypeCheckingTestCase {
         '''
     }
 
+    void testTypeCheckedEachWithIndex(){
+        //TODO: tags?

Review Comment:
   I added the doco mentioned in previous comment, so if you want to add to the 
doco, you would update:
   
https://github.com/apache/groovy/blob/master/src/spec/test/gdk/WorkingWithArraysTest.groovy
 (probably `testArrayIteration`)
   
https://github.com/apache/groovy/blob/master/src/spec/doc/_working-with-arrays.adoc
 (if needed)
   This wouldn't cover static compilation unless you added it explicitly, so 
moving to the aforementioned `DefaultGroovyMethodsSTCTest` might be just as 
good an option.



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