[
https://issues.apache.org/jira/browse/THRIFT-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-3115.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.9.3
Committed.
> 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
> Fix For: 0.9.3
>
> Attachments:
> THRIFT-3115-Uncompileable-code-due-to-name-collision.patch, _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)