Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-886

Dialyzer warning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5
    • 0.5
    • None
    • None
    • 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

      Attachments

        1. dialyzer.patch
          0.5 kB
          Anthony Molinaro

        Activity

          People

            djnym Anthony Molinaro
            djnym Anthony Molinaro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: