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

Dart generator does not handle uppercase argument names

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. The function signature uses lowercase, but the function body 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment