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

Sylwester Lachiewicz resolved THRIFT-182.
-----------------------------------------
    Resolution: Fixed

The compiler performs typename collision detection 
([compiler/cpp/src/thrift/parse/t_program.h|https://github.com/apache/thrift/blob/master/compiler/cpp/src/thrift/parse/t_program.h]
 lines 135-138, {{validate_unique_members()}}). Resolving as Fixed.

> Compiler should check for name collisions
> -----------------------------------------
>
>                 Key: THRIFT-182
>                 URL: https://issues.apache.org/jira/browse/THRIFT-182
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (General)
>            Reporter: Bryan Duxbury
>            Priority: Minor
>
> It'd be nice if the Thrift compiler checked for struct field name collisions 
> at compile time. Right now, you have to wait for the compilation/execution of 
> the generated code to throw some error. It should be simple to check names 
> simultaneously.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to