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

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

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

            Dates

              Created:
              Updated:
              Resolved: