diff options
author | Lukas Larsson <[email protected]> | 2018-07-31 15:21:00 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-07-31 15:21:00 +0200 |
commit | 245031ab86e5b06f78d271e9095e326663356837 (patch) | |
tree | bd53c0c8de529b6518f9eaa8fd362343915c6c1e | |
parent | afdea8a790903c4500185cf0459b23acf4bde062 (diff) | |
parent | edfb1eb7bace55ee6d582441239b7e05453c7bf6 (diff) | |
download | otp-245031ab86e5b06f78d271e9095e326663356837.tar.gz otp-245031ab86e5b06f78d271e9095e326663356837.tar.bz2 otp-245031ab86e5b06f78d271e9095e326663356837.zip |
tomas-abrahamsson/dialyzer-syntax-tools/PR-1888/OTP-15207
Fix spec for erl_syntax_lib:analyze_type_application/1
-rw-r--r-- | lib/syntax_tools/src/erl_syntax_lib.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syntax_tools/src/erl_syntax_lib.erl b/lib/syntax_tools/src/erl_syntax_lib.erl index ced0dba3e2..352165893f 100644 --- a/lib/syntax_tools/src/erl_syntax_lib.erl +++ b/lib/syntax_tools/src/erl_syntax_lib.erl @@ -1981,7 +1981,7 @@ analyze_application(Node) -> %% %% @see analyze_type_name/1 --type typeName() :: atom() | {module(), atom(), arity()} | {atom(), arity()}. +-type typeName() :: atom() | {module(), {atom(), arity()}} | {atom(), arity()}. -spec analyze_type_application(erl_syntax:syntaxTree()) -> typeName(). |