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

ruby structs use lowercase enum while modules are capitalized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.1
    • Ruby - Compiler
    • None
    • 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-v2.patch
          0.5 kB
          Michael Stockton
        2. thrift-451.patch
          0.5 kB
          Michael Stockton

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: