You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Reiss (JIRA)" <ji...@apache.org> on 2010/09/01 18:56:03 UTC
[jira] Resolved: (THRIFT-886) Dialyzer warning
[ https://issues.apache.org/jira/browse/THRIFT-886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Reiss resolved THRIFT-886.
--------------------------------
Assignee: Anthony Molinaro
Resolution: Fixed
Thanks.
> Dialyzer warning
> ----------------
>
> Key: THRIFT-886
> URL: https://issues.apache.org/jira/browse/THRIFT-886
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.5
> Reporter: Anthony Molinaro
> Assignee: Anthony Molinaro
> Fix For: 0.5
>
> Attachments: dialyzer.patch
>
>
> dialyzer --src -r . -I../include
> Checking whether the PLT /Users/molinaro/.dialyzer_plt is up-to-date... yes
> Proceeding with analysis...
> thrift_transport_behaviour.hrl:25: Invalid type specification for function thrift_http_transport:write/2. The success typing is (#http_transport{},_) -> {#http_
> transport{write_buffer::[any(),...]},'ok'}
> thrift_transport_behaviour.hrl:26: Invalid type specification for function thrif
> t_http_transport:read/2. The success typing is (#http_transport{read_buffer::bin
> ary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | [])
> | byte(),binary() | [])},integer()) -> {#http_transport{read_buffer::binary() |
> maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | [])},{'error','EOF'} | {'ok',binary()}}
> thrift_transport_behaviour.hrl:27: Invalid type specification for function thrift_http_transport:flush/1. The success typing is (#http_transport{write_buffer::binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | [])}) -> {#http_transport{write_buffer::binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | [])},'ok'}
> Unknown functions: fdsrv:bind_socket/2
> fdsrv:start/0
> fdsrv:stop/0 http:request/4
> done in 0m19.18s
> done (warnings were emitted)
> make: *** [dialyzer] Error 2
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.