File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2243,11 +2243,6 @@ defmodule Module do
22432243 value
22442244 end
22452245
2246- defp valid_dialyzer_attribute? ( { key , fun_arities } ) when is_atom ( key ) do
2247- ( key == :nowarn_function or valid_dialyzer_attribute? ( key ) ) and
2248- function_arity_list? ( List . wrap ( fun_arities ) )
2249- end
2250-
22512246 defp function_arity_list? ( fun_arities ) do
22522247 is_list ( fun_arities ) and
22532248 :lists . all (
@@ -2259,6 +2254,11 @@ defmodule Module do
22592254 )
22602255 end
22612256
2257+ defp valid_dialyzer_attribute? ( { key , fun_arities } ) when is_atom ( key ) do
2258+ ( key == :nowarn_function or valid_dialyzer_attribute? ( key ) ) and
2259+ function_arity_list? ( List . wrap ( fun_arities ) )
2260+ end
2261+
22622262 defp valid_dialyzer_attribute? ( attr ) do
22632263 :lists . member (
22642264 attr ,
You can’t perform that action at this time.
0 commit comments