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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.5
    • 0.6
    • None
    • None

    Description

      enum X {
       ONE, TWO
      }
      
      include "x"
      
      // compile error
      const x.X MY_X = x.X.ONE;
      

      Attachments

        Activity

          People

            bryanduxbury Bryan Duxbury
            bryanduxbury Bryan Duxbury
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: