Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9.1
-
None
-
all
-
Patch Available
Description
The t_csharp_generator.cc source tries to throw a string by adding a string literal ("") and an int (t_base_type::t_base) in several places (same bug appears in delphi and d generators).
e.g. throw "compiler error: no C# name for base type " + tbase->get_base();
changed to:
{ std::stringstream ss; ss << "compiler error: no C# name for base type " << tbase->get_base(); throw ss.str(); }Attachments
Attachments
Issue Links
- is cloned by
-
THRIFT-2560 Thrift compiler generator tries to concat ints with strings using +
- Closed