[erlang-questions] http_uri_parse/1 inconsistent return value + dialyser headache

Magnus Henoch <>
Tue Aug 14 14:06:06 CEST 2012

Motiejus Jakštys <> writes:

> On Tue, Aug 14, 2012 at 2:04 PM, Magnus Henoch
> <> wrote:
>> Zabrane Mickael <> writes:
>> An advanced variant of that is to define a ?catch_for_dialyzer macro
>> that expands to nothing for normal compilation, and to 'catch' when
>> running Dialyzer.
> Interesting. How do you know when you are running in dialyzer (i.e.
> how would you define that macro)?

The only way I know is to have your build system pass different -D flags
for normal compilation and dialyzer.


More information about the erlang-questions mailing list