[ 
https://issues.apache.org/jira/browse/THRIFT-2323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer closed THRIFT-2323.
------------------------------


> Uncompileable Delphi code generated for typedef'd structs
> ---------------------------------------------------------
>
>                 Key: THRIFT-2323
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2323
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.2
>
>         Attachments: 
> THRIFT-2323_uncompileable_code_with_typedefed_structs.patch
>
>
> This IDL
> {code}
> struct Sample { 
> }
> typedef Sample Foobar
> struct Container {
>   1: Sample directUse
>   2: Foobar viaTypedef
> }
> {code}
> gives
> {code}
> line (292) Error: E2250 There is no overloaded version of 'Append' that can 
> be called with these arguments 
> {code}
> because
> {code}
> __sb.Append(ViaTypedef);
> {code}
> should be
> {code}
> __sb.Append(ViaTypedef.ToString());
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to