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

Thrift IDL allows for multiple exceptions, args or struct member names to be the same

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.9.1
    • None
    • None
    • RedHat 5.5, C++, thrift-0.8.0

    • Patch Available

    Description

      I noticed that the Thrift IDL compiler allows for multiple exceptions instances to utilize the same name... This is a problem because when compiling to C+, the generated C+ code will not compile properly:

      service whatever
      {
      void insert(1: string s) throws (1: NS nst, WX wxx, NSTx nst),
      }

      Attachments

        Issue Links

          Activity

            People

              keppetto Kamil Sałaś
              mpopovich Michael Popovich
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: