You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/01/16 22:15:20 UTC
[jira] [Updated] (THRIFT-2323) Uncompileable Delphi code generated
for typedef'd structs
[ https://issues.apache.org/jira/browse/THRIFT-2323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-2323:
-------------------------------
Attachment: THRIFT-2323_uncompileable_code_with_typedefed_structs.patch
> 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)