aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src/erl_syntax_lib.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-06-20 15:32:27 +0200
committerHans Bolinder <[email protected]>2016-07-07 08:39:50 +0200
commitfab6d311d90b2361b7e719ffa07a72b76826a55b (patch)
treeff35096eb4e9629cbc078660e7361c2c2e04e1ff /lib/syntax_tools/src/erl_syntax_lib.erl
parent62074986287e10155293d19ac38659ed9521c018 (diff)
downloadotp-fab6d311d90b2361b7e719ffa07a72b76826a55b.tar.gz
otp-fab6d311d90b2361b7e719ffa07a72b76826a55b.tar.bz2
otp-fab6d311d90b2361b7e719ffa07a72b76826a55b.zip
syntax_tools: Improve types
Diffstat (limited to 'lib/syntax_tools/src/erl_syntax_lib.erl')
-rw-r--r--lib/syntax_tools/src/erl_syntax_lib.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/syntax_tools/src/erl_syntax_lib.erl b/lib/syntax_tools/src/erl_syntax_lib.erl
index 9815559779..5aecf5d774 100644
--- a/lib/syntax_tools/src/erl_syntax_lib.erl
+++ b/lib/syntax_tools/src/erl_syntax_lib.erl
@@ -280,7 +280,7 @@ mapfoldl(_, S, []) ->
%% =====================================================================
%% @spec variables(syntaxTree()) -> set(atom())
%%
-%% set(T) = //stdlib/sets:set(T)
+%% @type set(T) = //stdlib/sets:set(T)
%%
%% @doc Returns the names of variables occurring in a syntax tree, The
%% result is a set of variable names represented by atoms. Macro names
@@ -1955,7 +1955,7 @@ analyze_application(Node) ->
%% =====================================================================
-%% @spec analyze_type_application(Node::syntaxTree()) -> typeName()
+%% @spec analyze_type_application(Node::syntaxTree()) -> TypeName
%%
%% TypeName = {atom(), integer()}
%% | {ModuleName, {atom(), integer()}}