You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2010/11/24 00:48:14 UTC

[jira] Created: (THRIFT-1006) Impossible to correctly qualify an enum constant in an external thrift file

Impossible to correctly qualify an enum constant in an external thrift file
---------------------------------------------------------------------------

                 Key: THRIFT-1006
                 URL: https://issues.apache.org/jira/browse/THRIFT-1006
             Project: Thrift
          Issue Type: Bug
    Affects Versions: 0.5
            Reporter: Bryan Duxbury
            Assignee: Bryan Duxbury
            Priority: Blocker
             Fix For: 0.6


{code}
enum X {
 ONE, TWO
}
{code}

{code}
include "x"

// compile error
const x.X MY_X = x.X.ONE;
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (THRIFT-1006) Impossible to correctly qualify an enum constant in an external thrift file

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury closed THRIFT-1006.
---------------------------------

    Resolution: Fixed

> Impossible to correctly qualify an enum constant in an external thrift file
> ---------------------------------------------------------------------------
>
>                 Key: THRIFT-1006
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1006
>             Project: Thrift
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>            Priority: Blocker
>             Fix For: 0.6
>
>
> {code}
> enum X {
>  ONE, TWO
> }
> {code}
> {code}
> include "x"
> // compile error
> const x.X MY_X = x.X.ONE;
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.