Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3115

Uncompileable code due to name collision with predefined used types

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.3
    • Component/s: Delphi - Compiler
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Some type names produce code that cannot be compiled:

      typedef binary Bytes
      

      For delphi, the following code is generated, referencing TBytes predefined type used to represent binary Thrift fields:

      type TBytes = TBytes
      

      which is illegal.

        Attachments

          Activity

            People

            • Assignee:
              jensg Jens Geyer
              Reporter:
              jensg Jens Geyer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: