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 15:57:38 UTC

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

Jens Geyer created THRIFT-3115:
----------------------------------

             Summary: 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


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)