You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Anthony Molinaro (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/22 07:26:22 UTC

[jira] [Resolved] (THRIFT-1475) Incomplete records generation for Erlang

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

Anthony Molinaro resolved THRIFT-1475.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9

I believe the fix for THRIFT-1532 also fixes this.  I went a slightly different direction, so see THRIFT-1532 for details.  Also please try out the patch and let me know if doesn't work in some cases.
                
> Incomplete records generation for Erlang
> ----------------------------------------
>
>                 Key: THRIFT-1475
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1475
>             Project: Thrift
>          Issue Type: Bug
>          Components: Erlang - Compiler
>         Environment: Gentoo GNU/Linux, Erlang OTP R15B
>            Reporter: Max Treskin
>            Assignee: Anthony Molinaro
>            Priority: Minor
>              Labels: dialyzer, erlang
>             Fix For: 0.9
>
>         Attachments: THRIFT-1475_incomplete_erlang_records.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Thrift compiler for erlang generates incomplete records. It uses erlang string() type for thrift type binary(), and also has not sense to optional values when generates record fields types. Erlang Dialyzer prints warnings on these records so it should be fixed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira