Merge pull request #108 from tuncer/dialyzer

dialyzer_reference plus one minor patch
This commit is contained in:
Dave Smith 2013-06-29 06:28:35 -07:00
commit d3c7be265d
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,3 @@
rebar_eunit.erl:388: Call to missing or unexported function eunit_test:function_wrapper/2
rebar_utils.erl:162: Call to missing or unexported function escript:foldl/3
rebar_utils.erl:163: Call to missing or unexported function escript:foldl/3

View file

@ -308,7 +308,8 @@ find_deps(Config, Mode, [{App, VsnRegex} | Rest], Acc) when is_atom(App) ->
find_deps(Config, Mode, [{App, VsnRegex, undefined} | Rest], Acc);
find_deps(Config, Mode, [{App, VsnRegex, Source} | Rest], Acc) ->
find_deps(Config, Mode, [{App, VsnRegex, Source, []} | Rest], Acc);
find_deps(Config, Mode, [{App, VsnRegex, Source, Opts} | Rest], Acc) when is_list(Opts) ->
find_deps(Config, Mode, [{App, VsnRegex, Source, Opts} | Rest], Acc)
when is_list(Opts) ->
Dep = #dep { app = App,
vsn_regex = VsnRegex,
source = Source,