[erlang-questions] Dialyzer HttpPacket Waring (bug?)
Edmond Begumisa
ebegumisa@REDACTED
Mon Feb 28 22:14:13 CET 2011
On Tue, 01 Mar 2011 07:40:34 +1100, Kostis Sagonas <kostis@REDACTED>
wrote:
> Edmond Begumisa wrote:
>> On Tue, 01 Mar 2011 07:10:44 +1100, Edmond Begumisa
>> <ebegumisa@REDACTED> wrote:
>>
>>> Hello all,
>>>
>>> I'm using erlang:decode_packet/3 to do some HTTP. When I use the
>>> http_bin packet type and match the result, Dialyzer keeps warning
>>> about my HttpString type being invalid indicating that it's expecting
>>> a string() and not my binary(). Yet the documentation says (and
>>> tracing confirms) that HttpString = string() | binary()
>>>
>>> For example... {SNIP}
>
> Please learn how to submit a proper bug report. Which OTP version is
> this? Which documentation you are looking at?
Oops, forgive me. Not sleeping much :)
OTP: R14B01
DOC: www.erlang.org/doc/
OS: Win7 + Ubuntu 9.1 Kernel 2.6.31-14-generic
- Edmond -
> I cannot reproduce it with R14B01.
> Upgrade to it and your problem will go away.
>
> Kostis
>
Sorry,
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the erlang-questions
mailing list