[erl] fix generator to use unexpanded structs for reply_types on functions
authorDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:15:54 +0000 (01:15 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:15:54 +0000 (01:15 +0000)
commite20b97208885d40eb30638d4ee8dba2ab8629693
treec2854a0c0f81766c7ccb2daa9e37b421fe25d25a
parent9f2a5d77997cbfac2f46d267d326fa0e0886a77f
[erl] fix generator to use unexpanded structs for reply_types on functions

This fixes a bug where thrift_client would return a tuple rather than a tagged record when the called function returned a struct.

Test plan:
  in tutorial client:
    Log: {sharedStruct,1,<<"RARG">>}
  instead of:
    Log: {1,<<"RARG">>}

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666482 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_erl_generator.cc