[ 
https://issues.apache.org/jira/browse/THRIFT-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer resolved THRIFT-2166.
--------------------------------

    Resolution: Fixed

Committed.

The new behaviour can be enabled by specifying the new  *delphi:constprefix* 
switch.


                
> Delphi compiler should generate constant class name prefixed with thrift file 
> name (similar to Java and C#)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-2166
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2166
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Delphi - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 1.0
>
>         Attachments: 
> THRIFT-2166_Delphi__constant_class_name_prefixed_with_file_name.patch
>
>
> Similar to Java and C#, the Delphi compiler should generate constant class 
> name prefixed with thrift file Name: 
> Example: {code}TIncludesTestConstants{code} instead of just 
> {code}TConstants{code}.
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to