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

Change pure Int constants into @enums (where possible)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.3
    • Haxe - Library
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: