aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_cl.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-03-31 10:22:39 +0200
committerHans Bolinder <[email protected]>2015-04-01 09:57:55 +0200
commit31a445925408bdeea5d1b157d39756b5b7b1b165 (patch)
tree546547fd09ac58dc928d0eb7944d314c61ca308f /lib/dialyzer/src/dialyzer_cl.erl
parentaa13ab92a4bc99bffdb1576690d1b62be8d34e4a (diff)
downloadotp-31a445925408bdeea5d1b157d39756b5b7b1b165.tar.gz
otp-31a445925408bdeea5d1b157d39756b5b7b1b165.tar.bz2
otp-31a445925408bdeea5d1b157d39756b5b7b1b165.zip
dialyzer: Update the PLT properly when a module is changed
Thanks to James Fish for the bug report, and to Stavros Aronis for fixing the bug.
Diffstat (limited to 'lib/dialyzer/src/dialyzer_cl.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_cl.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dialyzer/src/dialyzer_cl.erl b/lib/dialyzer/src/dialyzer_cl.erl
index debb78bd0b..fe4ec41359 100644
--- a/lib/dialyzer/src/dialyzer_cl.erl
+++ b/lib/dialyzer/src/dialyzer_cl.erl
@@ -2,7 +2,7 @@
%%-------------------------------------------------------------------
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2006-2014. All Rights Reserved.
+%% Copyright Ericsson AB 2006-2015. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -469,7 +469,7 @@ expand_dependent_modules(Md5, DiffMd5, ModDeps) ->
Mod = list_to_atom(filename:basename(File, ".beam")),
sets:is_element(Mod, AnalyzeMods)
end,
- {[F || {F, _} <- Md5, FilterFun(F)], RemovedMods, NewModDeps}.
+ {[F || {F, _} <- Md5, FilterFun(F)], BigSet, NewModDeps}.
expand_dependent_modules_1([Mod|Mods], Included, ModDeps) ->
case dict:find(Mod, ModDeps) of