aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-01-25 10:02:39 +0100
committerFredrik Gustafsson <[email protected]>2013-01-25 10:02:39 +0100
commit06fc4b8586e530e1f462bb1761ff5d9bce681dad (patch)
tree0deeb340e14b9652601717fe515a1fd8f16dc343 /lib/hipe
parent65d9f5914de50516224f5634b9c672b2d4fdd083 (diff)
parent6005f67b58e9cae59e292ed9ef087931c6bd0630 (diff)
downloadotp-06fc4b8586e530e1f462bb1761ff5d9bce681dad.tar.gz
otp-06fc4b8586e530e1f462bb1761ff5d9bce681dad.tar.bz2
otp-06fc4b8586e530e1f462bb1761ff5d9bce681dad.zip
Merge branch 'sa/dialyzer-unknown-arity-funs/OTP-10772'
* sa/dialyzer-unknown-arity-funs/OTP-10772: Update one more unused funs result as per ffe582b Remove pubsub and comm_layer tests from testsuite Properly support functions with arbitrary arity in type specs. Conflicts: lib/hipe/cerl/erl_types.erl
Diffstat (limited to 'lib/hipe')
-rw-r--r--lib/hipe/cerl/erl_types.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/cerl/erl_types.erl b/lib/hipe/cerl/erl_types.erl
index ea1e7b1292..7631f5289e 100644
--- a/lib/hipe/cerl/erl_types.erl
+++ b/lib/hipe/cerl/erl_types.erl
@@ -3909,7 +3909,7 @@ t_form_to_string({type, _L, binary, [Base, Unit]} = Type) ->
_ -> io_lib:format("Badly formed bitstr type ~w", [Type])
end;
t_form_to_string({type, _L, 'fun', []}) -> "fun()";
-t_form_to_string({type, _L, 'fun', [{type, _, any}, Range]}) ->
+t_form_to_string({type, _L, 'fun', [{type, _, any}, Range]}) ->
"fun(...) -> " ++ t_form_to_string(Range);
t_form_to_string({type, _L, 'fun', [{type, _, product, Domain}, Range]}) ->
"fun((" ++ string:join(t_form_to_string_list(Domain), ",") ++ ") -> "