Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1120

proto.WriteListEnd being called in the wrong place

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.7
    • C# - Compiler
    • Patch Available

    Description

      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);

      Attachments

        1. C# ListEnd error.diff
          0.6 kB
          guoyunfeng

        Issue Links

          Activity

            People

              gyf19 guoyunfeng
              gyf19 guoyunfeng
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: