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

struct names that differ only in capitalization of first character generate broken erlang code

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      the following thrift specification generates broken erlang code:

      struct invalid

      { /* contents of struct are irrelevent */ }

      struct Invalid

      { /* still irrelevent }

      the compiler currently renames any struct that starts with a capital so that it starts with a lowercase letter. instead, it should leave names intact and use proper erlang syntax in generation. the attached patch does exactly that

      this does break backwards compatibility

      Attachments

        Activity

          People

            alisdairsullivan alisdair sullivan
            alisdairsullivan alisdair sullivan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: