[ https://issues.apache.org/jira/browse/THRIFT-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15447148#comment-15447148 ]
ASF GitHub Bot commented on THRIFT-3905: ---------------------------------------- GitHub user markerickson-wf reopened a pull request: https://github.com/apache/thrift/pull/1068 THRIFT-3905 Initialize bool, int, and double properties see https://issues.apache.org/jira/browse/THRIFT-3905 @tylertreat-wf @stevenosborne-wf @brianshannan-wf You can merge this pull request into a Git repository by running: $ git pull https://github.com/markerickson-wf/thrift thrift-3905 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/1068.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1068 ---- commit b354b0541a9b4ba786ea53ba8a8f63cecd770cd9 Author: Mark Erickson <mark.erick...@workiva.com> Date: 2016-08-28T01:32:13Z THRIFT-3905 Initialize bool, int, and double properties commit 0617d33d1ff15b5425fce37f2e76971a1b8aadf7 Author: Mark Erickson <mark.erick...@workiva.com> Date: 2016-08-29T17:04:40Z Only initialize non-optional fields. THRIFT-3905 ---- > Dart compiler does not initialize bool, int, and double properties > ------------------------------------------------------------------ > > Key: THRIFT-3905 > URL: https://issues.apache.org/jira/browse/THRIFT-3905 > Project: Thrift > Issue Type: Improvement > Components: Dart - Compiler > Affects Versions: 0.10.0 > Reporter: Mark Erickson > Assignee: Mark Erickson > Fix For: 0.10.0 > > > In Dart it is desirable to initialize bool (false), int (0), and double (0.0) > required properties (those that are not marked optional), instead of leaving > them with the value of null. -- This message was sent by Atlassian JIRA (v6.3.4#6332)