If dializer were to use the standard LFE parser then producing line numbers would be well nye impossible. I have a sligth fix in LFE when I read a file and return a list of pairs {Form,LineNumber} so the compiler can give some indication of where an error is. At least in which form it is.<br>
<br>If dializer were to use its own reader then it could tag everything with a line number and so give much better info.<br><br>Robert<br><br>P.S. New LFE version ready Real Soon Now (TM).<br><br><div><span class="gmail_quote">On 26/03/2008, <b class="gmail_sendername">Raoul Duke</b> <<a href="mailto:raould@gmail.com">raould@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
would dializer work with source code i write in lfe style, to show the<br> right line numbers and everything? i'm ass-u-me-ing no. i mean, i know<br> dialyzer can do either erlang source or beam code, so presumably i<br>
could use dialyzer on the back-end-output of lfe, but ideally i'd love<br> line numbers.<br> <br> gracias.<br> _______________________________________________<br> erlang-questions mailing list<br> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br> </blockquote></div><br>