Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.8.3, 1.8.4
-
Fix Version/s: 1.8.5, 2.0-beta-2
-
Component/s: Compiler
-
Labels:None
-
Environment:java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Groovy Version: 1.8.4 JVM: 1.6.0_23
-
Testcase included:yes
-
Number of attachments :
Description
It appears that the above bug was not correctly fixed. Addition of BigDecimals results in a type coercion of the result to Double.
I have attached a GroovyTestCase which should be self explanatory.
fixes and test in now