LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0350-Fix-spec-for-erl_syntax_lib-analyze_type_application.patch of Package erlang (Project home:Ledest:erlang:20)

From edfb1eb7bace55ee6d582441239b7e05453c7bf6 Mon Sep 17 00:00:00 2001
From: Tomas Abrahamsson <tomas.abrahamsson@gmail.com>
Date: Fri, 20 Jul 2018 21:03:06 +0200
Subject: [PATCH] Fix spec for erl_syntax_lib:analyze_type_application/1

---
 lib/syntax_tools/src/erl_syntax_lib.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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().
 
-- 
2.18.0