Skip to content

Improve support for BigDecimal and BigInteger #1289

@jeacott1

Description

@jeacott1

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?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions