127
127
%% Check if there are contracts for functions that do not exist
129
129
dialyzer_contracts:contracts_without_fun(Contracts, AllFuns, Callgraph),
130
{Warnings2, FunTypes, InterModuleCalls, ModLocalCalls} =
130
{Warnings2, FunTypes, RaceVarMap, RaceCode, PublicTables, NamedTables} =
131
131
dialyzer_dataflow:get_warnings(Tree, Plt, Callgraph, Records, NoWarnUnused),
132
132
NewDocPlt = insert_into_doc_plt(FunTypes, Callgraph, DocPlt),
134
callgraph__renew_module_calls(InterModuleCalls, ModLocalCalls, Callgraph),
134
callgraph__renew_race_stuff(RaceVarMap, RaceCode, PublicTables,
135
136
State1 = st__renew_state_calls(NewCallgraph, State),
136
137
get_warnings_from_modules(Ms, State1, NewDocPlt, [Warnings1,Warnings2|Acc]);
137
138
get_warnings_from_modules([], #st{plt = Plt}, DocPlt, Acc) ->