eric-milles commented on code in PR #1785:
URL: https://github.com/apache/groovy/pull/1785#discussion_r976636997
##########
src/spec/test/typing/TypeCheckingTest.groovy:
##########
@@ -44,6 +44,24 @@ class TypeCheckingTest extends StaticTypeCheckingTestCase {
'''
}
+ void testTypeCheckedEachWithIndex(){
+ //TODO: tags?
+ assertScript '''
+ @groovy.transform.TypeChecked
Review Comment:
No need to add this annotation within a `StaticTypeCheckingTestCase`. The
test case takes care of this for you and the subclass also applies static
compilation.
--
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]