aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2013-12-19 19:54:43 +0100
committerHenrik Nord <[email protected]>2014-01-14 10:13:43 +0100
commit66f93f9258bdf87cb673de7e167ab895c0299b6d (patch)
treecfb14e321447381e5f45f2cb602c635eb1a4ca65 /lib/dialyzer
parent589eba64f9c1fdef8a717c930aa8a51c47291a53 (diff)
downloadotp-66f93f9258bdf87cb673de7e167ab895c0299b6d.tar.gz
otp-66f93f9258bdf87cb673de7e167ab895c0299b6d.tar.bz2
otp-66f93f9258bdf87cb673de7e167ab895c0299b6d.zip
Fix an erroneous spec
The branch that patched this file to handle the new "named funs" added an extra argument to the main function of the module but forgot to update its spec.
Diffstat (limited to 'lib/dialyzer')
-rw-r--r--lib/dialyzer/src/dialyzer_dep.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dialyzer/src/dialyzer_dep.erl b/lib/dialyzer/src/dialyzer_dep.erl
index 1a477f4388..05f81399fb 100644
--- a/lib/dialyzer/src/dialyzer_dep.erl
+++ b/lib/dialyzer/src/dialyzer_dep.erl
@@ -58,7 +58,8 @@
%% separatedly.
%%
--spec analyze(cerl:c_module()) -> {dict(), ordset('external' | label()), dict()}.
+-spec analyze(cerl:c_module()) ->
+ {dict(), ordset('external' | label()), dict(), dict()}.
analyze(Tree) ->
%% io:format("Handling ~w\n", [cerl:atom_val(cerl:module_name(Tree))]),