[
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)