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:53:06 UTC

[jira] [Updated] (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 updated THRIFT-1120:
----------------------------------

    Summary: proto.WriteListEnd being called in the wrong place  (was: C# Compiler List )

> 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
>              Labels: patch
>         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