[ 
https://issues.apache.org/jira/browse/THRIFT-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756682#action_12756682
 ] 

Rob Slifka commented on THRIFT-508:
-----------------------------------

This is the same as THRIFT-570, which has a fix submitted.  Should probably be 
closed duplicate.


> Services that define a method twice should raise an error (in Python 
> compiler, at least)
> ----------------------------------------------------------------------------------------
>
>                 Key: THRIFT-508
>                 URL: https://issues.apache.org/jira/browse/THRIFT-508
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Python)
>    Affects Versions: 0.1
>            Reporter: Terry Jones
>            Priority: Minor
>
> If you define a Thrift service that mentions the same method more than once, 
> the Python compiler generates code for the method more than once. Given that 
> this is (almost?) certainly an error in the Thrift service specification, it 
> should be flagged and, I think, an error should be raised. This will prevent 
> people (like me) from becoming the victim seemingly mysterious Thrift service 
> failures due to silly cut & paste errors when editing specification files.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to