From 66f93f9258bdf87cb673de7e167ab895c0299b6d Mon Sep 17 00:00:00 2001 From: Kostis Sagonas Date: Thu, 19 Dec 2013 19:54:43 +0100 Subject: 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. --- lib/dialyzer/src/dialyzer_dep.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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))]), -- cgit v1.2.3