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

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

     Patch Info: [Patch Available]
    Description: 
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 seems to just be a minor problem with the restructuring

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

Reply via email to