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

C# compiler should generate constant files prefixed with thrift file name

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9.1
    • Component/s: C# - Compiler
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      When you compile (recursively) thrift file that contains constants and includes another thrift file with constants, then only one Constants.cs file will be produced and it won't contain constants from the included file.

      Compiler should behave like a java version, for each thrift file with constants, generate a prefixed constants file.

        Attachments

        1. THRIFT-1977-additional-fix-classnames-v2.patch
          3 kB
          Jens Geyer
        2. THRIFT-1977-Csharp_generate_constant_files_prefixed_with_thrift_file_name-v3.patch
          1 kB
          Jens Geyer
        3. testcases_v2_fixed.zip
          1 kB
          Deniss Afonin
        4. Testcases.zip
          0.5 kB
          Jens Geyer
        5. t_csharp_generator.patch
          1 kB
          Deniss Afonin

          Issue Links

            Activity

              People

              • Assignee:
                jensg Jens Geyer
                Reporter:
                afds Deniss Afonin
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: