Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.1, 2.4.0-rc-1
-
None
Description
The most simple case of this is when compiling 1.MAX_VALUE. The compiler recognizes 1 as int, but fails to see that MAX_VALUE is defined on Integer. Other version are
int i=1; i.MAX_VALUE
and
def i="d"; i=1; i.MAX_VALUE
Attachments
Issue Links
- is related to
-
GROOVY-6351 Static type checking error when accessing static members of a primitive type
- Closed