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)

Reply via email to