You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mark Erickson (JIRA)" <ji...@apache.org> on 2016/01/29 21:57:39 UTC

[jira] [Updated] (THRIFT-3589) Dart generator uses wrong name in constructor for uppercase arguments with defaults

     [ https://issues.apache.org/jira/browse/THRIFT-3589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Erickson updated THRIFT-3589:
----------------------------------
    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.

  was:
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.


> Dart generator uses wrong name in constructor for uppercase arguments with defaults
> -----------------------------------------------------------------------------------
>
>                 Key: THRIFT-3589
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3589
>             Project: Thrift
>          Issue Type: Bug
>          Components: Dart - Compiler
>            Reporter: Mark Erickson
>            Assignee: Mark Erickson
>             Fix For: 0.9.4
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)