[
https://issues.apache.org/jira/browse/THRIFT-508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jake Farrell resolved THRIFT-508.
---------------------------------
Resolution: Duplicate
Assignee: Jake Farrell
Duplicate of THRIFT-570, tested and verified that this is resolved.
> 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: Python - Compiler
> Affects Versions: 0.1
> Reporter: Terry Jones
> Assignee: Jake Farrell
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira