From: Zabrane Mickael <zabra...@gmail.com>
Date: Tue, 14 Aug 2012 14:38:19 +0200
Local: Tues, Aug 14 2012 8:38 am
Subject: Re: [erlang-questions] http_uri_parse/1 inconsistent return value + dialyser headache
Following Magnus & Motiejus great suggestions, here it is:
%-------- put this marco somewhere (.hrl, top of your .erl) %------- the new code
Add this flag "-DDIALYZER_CATCH=1" to your Dialyzer command line:
Everything's perfect now.
Thanks for sharing these guys.
Regards,
On Aug 14, 2012, at 2:06 PM, Magnus Henoch wrote:
> Motiejus Jakštys <desired....@gmail.com> writes:
_______________________________________________
>> On Tue, Aug 14, 2012 at 2:04 PM, Magnus Henoch
>>> An advanced variant of that is to define a ?catch_for_dialyzer macro
>> Interesting. How do you know when you are running in dialyzer (i.e.
> The only way I know is to have your build system pass different -D flags
> Regards,
erlang-questions mailing list erlang-questi...@erlang.org http://erlang.org/mailman/listinfo/erlang-questions You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||