Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3025

Change pure Int constants into @enums (where possible)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.3
    • Component/s: Haxe - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      There are a few places where numeric constants should be represented as @enums instead of Ints.

      Important note: This is not possible now in all cases because of a restriction with Haxe 3.1.3 which essentially prevents the handling of enum values that are unknown at compile time. Thus, enum values that may be subject to further expansion (such as exception codes) should not be converted unless Haxe 3.1.3 support is dropped.

        Attachments

          Activity

            People

            • Assignee:
              jensg Jens Geyer
              Reporter:
              jensg Jens Geyer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: