You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jk...@apache.org on 2018/09/16 11:03:00 UTC
[thrift] branch master updated: THRIFT-4637 C# async mode generates
incorrect code with inherited services Client: C# Patch: Jens Geyer
This is an automated email from the ASF dual-hosted git repository.
jking pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push:
new 0f6e52a THRIFT-4637 C# async mode generates incorrect code with inherited services Client: C# Patch: Jens Geyer
0f6e52a is described below
commit 0f6e52abcce49102f4032393e6651cebb82ec29c
Author: Jens Geyer <je...@apache.org>
AuthorDate: Sat Sep 15 21:54:09 2018 +0200
THRIFT-4637 C# async mode generates incorrect code with inherited services
Client: C#
Patch: Jens Geyer
---
compiler/cpp/src/thrift/generate/t_csharp_generator.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/cpp/src/thrift/generate/t_csharp_generator.cc b/compiler/cpp/src/thrift/generate/t_csharp_generator.cc
index 73ee030..bd6331d 100644
--- a/compiler/cpp/src/thrift/generate/t_csharp_generator.cc
+++ b/compiler/cpp/src/thrift/generate/t_csharp_generator.cc
@@ -2049,7 +2049,7 @@ void t_csharp_generator::generate_service_server_async(t_service* tservice) {
string extends_processor = "";
if (tservice->get_extends() != NULL) {
extends = type_name(tservice->get_extends());
- extends_processor = extends + ".Processor, ";
+ extends_processor = extends + ".AsyncProcessor, ";
}
indent(f_service_) << "public class AsyncProcessor : " << extends_processor << "TAsyncProcessor {" << endl;