erichelgeson commented on pull request #1292:
URL: https://github.com/apache/groovy/pull/1292#issuecomment-662464019


   @paulk-asert I get an error either way:
   
   Change it to groovy 2.5.13 (leaving void) I get:
   ```
   > Task :grails-console:compileGroovy FAILED
   startup failed:
   
/Users/erichelgeson/source/grails-core/grails-console/src/main/groovy/grails/ui/console/support/GroovyConsoleApplicationContext.groovy:
 47: The return type of boolean exit(java.util.EventObject) in 
grails.ui.console.support.GroovyConsoleApplicationContext$1 is incompatible 
with void in groovy.ui.Console
   . At [47:13]  @ line 47, column 13.
                  @Override
   ```
   
   Change it to boolean, I get:
   ```
   
/Users/erichelgeson/source/grails-core/grails-console/src/main/groovy/grails/ui/console/support/GroovyConsoleApplicationContext.groovy:
 47: The return type of void exit(java.util.EventObject) in 
grails.ui.console.support.GroovyConsoleApplicationContext$1 is incompatible 
with boolean in groovy.ui.Console
   . At [47:13]  @ line 47, column 13.
                  @Override
   ```


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


Reply via email to