Hi, I'm working on a legacy project full of code as below.
afaict this code should compile.
class SomeClass {
private static final BigDecimal bd = 1
...
but greclipse gives me
Type mismatch: cannot convert from int to BigDecimal SomeClass .groovy ... Java Problem
here's an ancient groovy ref showing a fix for this issue.
https://issues.apache.org/jira/browse/GROOVY-1141
why doesn't greclipse accept this as valid?
Hi, I'm working on a legacy project full of code as below.
afaict this code should compile.
but greclipse gives me
Type mismatch: cannot convert from int to BigDecimal SomeClass .groovy ... Java Problem
here's an ancient groovy ref showing a fix for this issue.
https://issues.apache.org/jira/browse/GROOVY-1141
why doesn't greclipse accept this as valid?