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

ruby structs use lowercase enum while modules are capitalized

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1
    • Component/s: Ruby - Compiler
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      enum fb_status {
      DEAD = 0,
      STARTING = 1,
      ALIVE = 2,
      STOPPING = 3,
      STOPPED = 4,
      WARNING = 5,
      }

      The type for fb_status will be created as so:

      module Fb_status
      end

      However, structs will refer to fb_status.

        Attachments

        1. thrift-451.patch
          0.5 kB
          Michael Stockton
        2. thrift-451-v2.patch
          0.5 kB
          Michael Stockton

          Activity

            People

            • Assignee:
              michaelstockton Michael Stockton
              Reporter:
              michaelstockton Michael Stockton
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: