Details

      Description

      Replace the approach of “detect some magic combination of flags to
      trigger some action” by introducing an enum flag which makes the
      semantics and the intentions of the code using it more explicit.

      This basically involves wiring up the existing ACC_ENUM bit to a new
      modifier flag and making sure it is set correctly when encountering
      enums.

      This will enable us to treat enums more consistently and will allow us to support the declaration of enums directly in Scala (e. g. via macro annotations).

        Activity

        Show
        Simon Ochsenreither added a comment - PR: https://github.com/scala/scala/pull/3247

          People

          • Assignee:
            Simon Ochsenreither
            Reporter:
            Simon Ochsenreither
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development