Targets #22

Merged
2 commits merged into from Jan 28, 2011

Projects

None yet

2 participants

@jlouis
jlouis commented Jan 28, 2011

Slowly moving towards dialyzer specs...

@yrashk
Member
yrashk commented Jan 28, 2011

Funny, I just was adding skip_deps myself...

But speaking about debug_info, how about something like this

dialyze:
            @./rebar clean
            @./rebar compile debug_info=1
            @./rebar dialyze skip_deps=true
            @./rebar clean

?

@jlouis
jlouis commented Jan 28, 2011

Fine by me to add that. The dialyzer doesn't like typespecs.hrl though for some reason (which I am more inclined to call a problem inside the dialyzer)

@yrashk
Member
yrashk commented Jan 28, 2011

Well, I don't see a reason why it shouldn't like it. What do you get?

P.S. I will merge this soon

@jlouis
jlouis commented Jan 28, 2011

Something along the lines of the fact that if have a type

 -type foo :: ...

and also

 -type foo(A) :: ... use of A ...

then it errs (with a quite nasty error that forgets to print out the string correctly) that the type in question is already defined. I am quite sure it is an internal dialyzer error.

@yrashk
Member
yrashk commented Jan 28, 2011

Oh, I think I have the same problem, it looks like a internal problem to me, too. Shouldn't we report it to erlang-bugs or something?

@jlouis
jlouis commented Jan 28, 2011

Start by asking on erlang-questions@ with a minimal example.

@yrashk
Member
yrashk commented Jan 28, 2011

Yeah, I guess this is the only way.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment