[ 
https://issues.apache.org/jira/browse/THRIFT-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14013666#comment-14013666
 ] 

Hudson commented on THRIFT-2558:
--------------------------------

FAILURE: Integrated in Thrift #1167 (See 
[https://builds.apache.org/job/Thrift/1167/])
THRIFT-2558: CSharp gen tries to add str + int (ra: rev 
91b3b1a6b204b381d6ccea1016b6900667ac1a6c)
* compiler/cpp/src/generate/t_csharp_generator.cc


> CSharp compiler generator tries to concat ints with strings using +
> -------------------------------------------------------------------
>
>                 Key: THRIFT-2558
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2558
>             Project: Thrift
>          Issue Type: Bug
>          Components: C# - Compiler
>    Affects Versions: 0.9.1
>         Environment: all
>            Reporter: Randy Abernethy
>            Assignee: Randy Abernethy
>            Priority: Minor
>             Fix For: 0.9.2
>
>         Attachments: 0001-fix-csharp-compiler-str-cat-bugs.patch
>
>
> 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();
>     }



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to