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

Thrift compiler generator tries to concat ints with strings using +

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      As reported in THRIFT-2558, at several places in the Thrift language code generators an attenpt is made to throw a string by adding a string literal ("") and an int (t_base_type::t_base) in several places:

      throw "compiler error: no C# name for base type " + tbase->get_base();
      

      Additionally, at several places a wrong language name in these eror messages is used, probably due to the fact that most code generators are implemented re-using another, similar language's code generator.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: