thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Molinaro (JIRA)" <j...@apache.org>
Subject [jira] Updated: (THRIFT-886) Dialyzer warning
Date Wed, 01 Sep 2010 04:49:10 GMT

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

Anthony Molinaro updated THRIFT-886:
------------------------------------

    Attachment: dialyzer.patch

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


Mime
View raw message