diff options
author | David Reiss <dreiss@apache.org> | 2009-02-07 02:37:09 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2009-02-07 02:37:09 +0000 |
commit | a7fc092ee1e0f77b818b0e4bcc8954f9f746b21a (patch) | |
tree | cca5ee69de8e9e4694c02d8ae5248d79055ea59e /test/DebugProtoTest.thrift | |
parent | 8cee47cf5e7f0b17aadd5895d632901d828b0554 (diff) | |
download | thrift-a7fc092ee1e0f77b818b0e4bcc8954f9f746b21a.tar.gz |
THRIFT-256. python: Fix inheritance of services in the same IDL file
The old version of type_name did not fully qualify parent service names
when they were defined in the same IDL file, but it is necessary because
they end up in different Python files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741833 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/DebugProtoTest.thrift')
-rw-r--r-- | test/DebugProtoTest.thrift | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/DebugProtoTest.thrift b/test/DebugProtoTest.thrift index e730b22e9..3adaf0c8f 100644 --- a/test/DebugProtoTest.thrift +++ b/test/DebugProtoTest.thrift @@ -82,6 +82,10 @@ service Srv { i32 Janky(i32 arg) } +service Inherited extends Srv { + i32 identity(i32 arg) +} + service EmptyService {} // The only purpose of this thing is to increase the size of the generated code |