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 2015/04/26 17:46:39 UTC

[jira] [Updated] (THRIFT-3115) Uncompileable code due to name collision with predefined used types

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

Jens Geyer updated THRIFT-3115:
-------------------------------
    Attachment: _Thrift3115.thrift

[Testcase|^_Thrift3115.thrift]


> Uncompileable code due to name collision with predefined used types
> -------------------------------------------------------------------
>
>                 Key: THRIFT-3115
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3115
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>         Attachments: _Thrift3115.thrift
>
>
> Some type names produce code that cannot be compiled:
> {code}
> typedef binary Bytes
> {code}
> For delphi, the following code is generated, referencing {{TBytes}} predefined type used to represent {{binary}} Thrift fields:
> {code}
> type TBytes = TBytes
> {code}
> which is illegal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)