<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Maxim,</div><div><br></div><div>You are right. Changing the following Makefile line fixed the problem:</div><div><br></div><div>dialyze:</div>ERL_LIBS=$(PWD)/deps $(DIALYZER) --src src --plt .sheriff_dialyzer.plt --no_native \<div><span class="Apple-tab-span" style="white-space:pre">        </span>[...]<br><div><div><br></div><div><br></div><div>Loïc, could you please push this into Sheriff (github)?</div><div><br></div><div><div apple-content-edited="true"><div>Regards,</div><div>Zabrane</div><div><br></div><div><br></div></div></div><div>On Aug 16, 2012, at 9:53 AM, Maxim Treskin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi<div><br></div><div>Just add path to parse_trans library in ERL_LIBS before run Dialyzer<br><br><div class="gmail_quote">On 16 August 2012 06:15, Zabrane Mickael <span dir="ltr"><<a href="mailto:zabrane3@gmail.com" target="_blank">zabrane3@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Loïc,<br>
<div class="im"><br>
> Don't think I ever tried to dialyze it, tests were good enough for that purpose. This sounds like a parse_trans error, but why would it only occur on dialyzing?<br>
<br>
</div>Yep for sure.<br>
<div class="im"><br>
> Regardless dialyzer would work fine if operating on compiled files with debug enabled.<br>
<br>
</div>How can I check that (i.e test only from beams with debug enabled)?<br>
<br>
Regards,<br>
Zabrane<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Max Treskin<br>
</div>
</blockquote></div><br><div apple-content-edited="true">
<div><br></div></div></div></body></html>