Caught: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed,
at parseError.run(parseError.groovy:1)
at parseError.main(parseError.groovy)
gives the almost incomprehensible:
Caught: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed,
at parseError.run(parseError.groovy:1)
at parseError.main(parseError.groovy)
A similar error message is now generated in both cases so in that respect things are fixed. However, is the error message:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, ./GROOVY_1527.groovy: 3: Closure expression looks like it may be an isolated open block.;
solution: Add an explicit parameter list, as in {it -> ...}, or label it as L:{...}. @ line 3, column 54.
em.getenv ( 'GROOVY_HOME' ) ; { assert g
^
Russel Winder - 15/Jul/07 04:13 AM A similar error message is now generated in both cases so in that respect things are fixed. However, is the error message:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, ./GROOVY_1527.groovy: 3: Closure expression looks like it may be an isolated open block.;
solution: Add an explicit parameter list, as in {it -> ...}, or label it as L:{...}. @ line 3, column 54.
em.getenv ( 'GROOVY_HOME' ) ; { assert g
^
for the first script actually reasonable?
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, ./GROOVY_1527.groovy: 3: Closure expression looks like it may be an isolated open block.;
solution: Add an explicit parameter list, as in {it -> ...}, or label it as L:{...}. @ line 3, column 54.
em.getenv ( 'GROOVY_HOME' ) ; { assert g
^
for the first script actually reasonable?