diff options
author | Lukas Larsson <lukas@erlang.org> | 2021-04-06 11:28:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 11:28:36 +0200 |
commit | ca8610ddae5eb9d9e2e346c935e296df8d642ed2 (patch) | |
tree | 41901869b7ff620232c41863458f39d7a2581aa6 /lib/syntax_tools/src/erl_syntax.erl | |
parent | c41c3553d6978d1d2e909f826c0f33499e845265 (diff) | |
parent | cadd7f3ea2566f9d5b340ece5c30911119c838ad (diff) | |
download | erlang-ca8610ddae5eb9d9e2e346c935e296df8d642ed2.tar.gz |
Merge pull request #4705 from gomoripeti/fix_function_type_spec/OTP-17302
Fix erl_syntax:function_type/2 spec
Diffstat (limited to 'lib/syntax_tools/src/erl_syntax.erl')
-rw-r--r-- | lib/syntax_tools/src/erl_syntax.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syntax_tools/src/erl_syntax.erl b/lib/syntax_tools/src/erl_syntax.erl index d15ffb9b40..354b65c9a3 100644 --- a/lib/syntax_tools/src/erl_syntax.erl +++ b/lib/syntax_tools/src/erl_syntax.erl @@ -5185,7 +5185,7 @@ function_type(Type) -> %% Arguments = [erl_parse()] %% Type = erl_parse() --spec function_type('any_arity' | syntaxTree(), syntaxTree()) -> syntaxTree(). +-spec function_type('any_arity' | [syntaxTree()], syntaxTree()) -> syntaxTree(). function_type(Arguments, Return) -> tree(function_type, |