eric-milles commented on pull request #1515: URL: https://github.com/apache/groovy/pull/1515#issuecomment-797836052
Any code that uses a sequence of `instanceof` checks to distinguish `ASTNode`/`Expression`/`Statement` types could instead leverage `GroovyCodeVisitorAdapter` and the visitor pattern for type dispatch. ---------------------------------------------------------------- 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: [email protected]
