thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (Jira)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-5251) StringUtils<T>.ToString() raises an exception for enum values outside range
Date Mon, 13 Jul 2020 21:44:00 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-5251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jens Geyer updated THRIFT-5251:
-------------------------------
    Attachment: 0001-THRIFT-5251-StringUtils-T-.ToString-raises-an-except.patch

> StringUtils<T>.ToString() raises an exception for enum values outside range
> ---------------------------------------------------------------------------
>
>                 Key: THRIFT-5251
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5251
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Library
>    Affects Versions: 0.13.0
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Major
>             Fix For: 0.14.0
>
>         Attachments: 0001-THRIFT-5251-StringUtils-T-.ToString-raises-an-except.patch
>
>
> StringUtils<T>.ToString() raises an exception for enum values outside range.
> e.g,.
> {{      s := StringUtils<}}{{TMyEnum}}{{>.ToString(Pred(Low(TMyEnum))); // will
raise}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message