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

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

    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

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: