What steps will reproduce the problem?
1. A line def v = - 5**2 in a @Typed class
2. Compile
What is the expected output? What do you see instead?
-25
Instead: compilation error:
Cannot find method Number.negative()
What version of the product are you using? On what operating system?
groovy++ 0.2.26 on Windows Vista
Please provide any additional information below.
a "workaround" - 1*5**2
works as expected
Original issue reported on code.google.com by ffok...@yahoo.co.uk on 18 Nov 2010 at 4:19
Original issue reported on code.google.com by
ffok...@yahoo.co.uk
on 18 Nov 2010 at 4:19