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

Uneven calls to indent_up and indent_down in Cocoa generator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.3
    • Cocoa - Compiler
    • None
    • Patch Available

    Description

      indent_down was called one extra time which gave us an indentation level of -1, then to combat this, we indented the server implementation an extra level. This appeared as if everything was fine unless you generated two services in one thrift file, in which case the indentation would get progressively worse.

      Attachments

        Activity

          People

            jensg Jens Geyer
            yelirekim Mike Riley
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: