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

Delphi compiler should generate constant class name prefixed with thrift file name (similar to Java and C#)

    XMLWordPrintableJSON

    Details

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

      Description

      Similar to Java and C#, the Delphi compiler should generate constant class name prefixed with thrift file Name:

      Example:

      TIncludesTestConstants

      instead of just

      TConstants

      .

      This makes it easier to distinguish between different constants when two or more generated Delphi units are used from the same source file without the need to add (possibly lengthy) prefixes.

        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: