Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5150

Switch to a primitive representation of constants

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Issue Links

          Activity

            People

              melix Cédric Champeau
              fatzopilot Fat Zopilot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: