Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-5
-
None
Description
The first line below compiles fine but the second one doesn't.
println -1 * 1
println 1 * -1
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, a.groovy: 2: unexpected token: - @ line 2, column 13
.
println 1 * -1