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

Dart generator produces empty name in pubspec.yaml for includes without namespaces

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Dart - Compiler
    • Labels:
      None

      Description

      Given the following, the Dart generator produces a bad pubspec.yaml for example.thrift. It should reference "base", but instead uses an empty string.

      base.thrift

      struct Foo {}
      

      example.thrift

      include "base.thrift"
      
      service FooService {
          base.Foo foo()
      }
      

        Attachments

          Activity

            People

            • Assignee:
              markerickson-wk Mark Erickson
              Reporter:
              markerickson-wk Mark Erickson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: