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

Uncompileable code due to name collision with predefined used types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.3
    • Delphi - Compiler
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: