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

Dart generator uses wrong name in constructor for uppercase arguments with defaults

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Dart - Compiler
    • None

    Description

      PROBLEM
      The dart generator produces inconsistent code for argument names that start with an uppercase letter and have a default value. The function signature uses lowercase, but the constructor uses uppercase.

      SOLUTION
      Pass the argument name through the get_field_name() function, to generate code consistent with the other references of argument names.

      Attachments

        Issue Links

          Activity

            People

              markerickson-wk Mark Erickson
              markerickson-wk Mark Erickson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: