Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.4
-
Fix Version/s: 1.8.5, 2.0-beta-2
-
Component/s: Compiler
-
Labels:
-
Number of attachments :
Description
Currently, constants such as
public static final int type = 32
are not internally represented as primitives.
This leads to oddities such as a constant being unusable in switch statements.
Since recent versions of the compile now know primitives, it would be nice if the internal representation was changed.
Issue Links
- is related to
-
GROOVY-5292
Stub generation doesn't handle 'protected' multi-line String correctly.
-