1
%%---------------------------------------------------------------------
2
%% Module that went into an infinite loop when trying to assign types.
4
%% What was happening is that for functions which are in an SCC but all
5
%% return none(), a second chance was given to them by the analysis to
6
%% see whether they return none() because they are involved in an loop
7
%% (presumably server-related) and could be assigned the type unit()
8
%% instead. The problem is that when the really return none() for some
9
%% other reason (an error such in this case) then we will again find
10
%% none() and try again for unit(), thereby entering an infinite loop.
11
%% The issue was resolved on May 17th by adding an appropriate boolean
12
%% parameter to dialyzer_typesig:solve_scc() function.
13
%%---------------------------------------------------------------------
19
lists:reverse(gazonk),