You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2011/03/28 16:55:05 UTC
[jira] [Closed] (THRIFT-1120) proto.WriteListEnd being called in
the wrong place
[ https://issues.apache.org/jira/browse/THRIFT-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury closed THRIFT-1120.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.7
Assignee: guoyunfeng
I just committed this to TRUNK. Thanks for the patch!
> proto.WriteListEnd being called in the wrong place
> --------------------------------------------------
>
> Key: THRIFT-1120
> URL: https://issues.apache.org/jira/browse/THRIFT-1120
> Project: Thrift
> Issue Type: Bug
> Components: C# - Compiler
> Affects Versions: 0.6
> Reporter: guoyunfeng
> Assignee: guoyunfeng
> Labels: patch
> Fix For: 0.7
>
> Attachments: C# ListEnd error.diff
>
>
> t_csharp_generator.cc
> scope_down(out);
> if (ttype->is_map()) {
> indent(out) << "oprot.WriteMapEnd();" << endl;
> } else if (ttype->is_set()) {
> indent(out) << "oprot.WriteSetEnd();" << endl;
> } else if (ttype->is_list()) {
> indent(out) << "oprot.WriteListEnd();" << endl;
> }
> scope_down(out);
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira