[
https://issues.apache.org/jira/browse/THRIFT-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-3025.
--------------------------------
Resolution: Fixed
Committed.
> 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)