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

empty enums lead to invalid code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.2
    • 0.9.2
    • Delphi - Compiler
    • None
    • Patch Available

    Description

      "test.thrift"
      enum MyEnum5 {
        // no values
      }
      

      leads to an invalid declaration in Delphi. We need at least one (dummy) value.

      Attachments

        Activity

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: