You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2015/03/06 00:05:38 UTC

[jira] [Created] (THRIFT-3025) Change pure Int constants into @enums (where possible)

Jens Geyer created THRIFT-3025:
----------------------------------

             Summary: Change pure Int constants into @enums (where possible)
                 Key: THRIFT-3025
                 URL: https://issues.apache.org/jira/browse/THRIFT-3025
             Project: Thrift
          Issue Type: Improvement
          Components: Haxe - Library
            Reporter: Jens Geyer
            Assignee: Jens Geyer
             Fix For: 0.9.3


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|https://github.com/HaxeFoundation/haxe/issues/3649] 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)