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

Go lang code generator enums do not select the correct package names

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.9.3
    • Fix Version/s: None
    • Component/s: Go - Compiler
    • Labels:
    • Environment:

      Found on Ubuntu 14.04 using Go lang 1.6.2. Present of all OS and Go versions

    • Patch Info:
      Patch Available

      Description

      When using thrift IDL include files that have different package names from the main thrift IDL file the code generator fails to use the correct package names for enums defined in the included file when they are referenced in the file doing the include and using the enum.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              karlmutch@gmail.com Karl Mutch
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified