Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
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.
SUCCESS: Integrated in Thrift #888 (See https://builds.apache.org/job/Thrift/888/)
THRIFT-2166Delphi compiler should generate constant class name prefixed with thrift file name (similar to Java and C#) (jensg: rev ec8744c4dd84f8077a590cdcbb58a921cec1d14c)