You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2016/01/31 12:13:39 UTC
[jira] [Resolved] (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 ]
Roger Meier resolved THRIFT-3589.
---------------------------------
Resolution: Fixed
committed
> 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)