You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2017/01/10 22:02:24 UTC

thrift git commit: THRIFT-3960 Inherited services in Lua generator are not named correctly Client: Lua Patch: Benjamin Gould

Repository: thrift
Updated Branches:
  refs/heads/master 1ca09d0e0 -> 4f710aa4f


THRIFT-3960 Inherited services in Lua generator are not named correctly
Client: Lua
Patch: Benjamin Gould <bg...@users.noreply.github.com>

This closes #1124


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/4f710aa4
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/4f710aa4
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/4f710aa4

Branch: refs/heads/master
Commit: 4f710aa4f47e051d41c863aa7aa9239dab5b9636
Parents: 1ca09d0
Author: BCG <bg...@users.noreply.github.com>
Authored: Thu Nov 3 23:22:35 2016 -0400
Committer: Jens Geyer <je...@apache.org>
Committed: Tue Jan 10 23:02:00 2017 +0100

----------------------------------------------------------------------
 compiler/cpp/src/thrift/generate/t_lua_generator.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/4f710aa4/compiler/cpp/src/thrift/generate/t_lua_generator.cc
----------------------------------------------------------------------
diff --git a/compiler/cpp/src/thrift/generate/t_lua_generator.cc b/compiler/cpp/src/thrift/generate/t_lua_generator.cc
index 97b8aa3..92e6749 100644
--- a/compiler/cpp/src/thrift/generate/t_lua_generator.cc
+++ b/compiler/cpp/src/thrift/generate/t_lua_generator.cc
@@ -644,7 +644,7 @@ void t_lua_generator::generate_service_processor(ofstream& out, t_service* tserv
   // Define processor table
   out << endl << classname << " = __TObject.new(";
   if (extends_s != NULL) {
-    out << extends_s << "Processor" << endl;
+    out << extends_s->get_name() << "Processor" << endl;
   } else {
     out << "__TProcessor" << endl;
   }