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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      RedHat 5.5, C++, thrift-0.8.0

    • Patch Info:
      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

            • Assignee:
              keppetto Kamil Sałaś
              Reporter:
              mpopovich Michael Popovich

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment