aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2016-04-25 14:05:12 +0200
committerHans Bolinder <[email protected]>2016-04-28 16:16:10 +0200
commit12f968890c34e2591e7d4d8797896878f6cb6c62 (patch)
tree26318cd01c0a737120facf3c413246033effd0ea /lib/dialyzer
parent81234c978d1ff1295d20158ed83b296b1f5b1c9f (diff)
downloadotp-12f968890c34e2591e7d4d8797896878f6cb6c62.tar.gz
otp-12f968890c34e2591e7d4d8797896878f6cb6c62.tar.bz2
otp-12f968890c34e2591e7d4d8797896878f6cb6c62.zip
dialyzer_typesig: Fix bad external type
28a4a5057ab9 mistakenly used the non-existing type cerl:tree() instead of cerl:cerl().
Diffstat (limited to 'lib/dialyzer')
-rw-r--r--lib/dialyzer/src/dialyzer_typesig.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dialyzer/src/dialyzer_typesig.erl b/lib/dialyzer/src/dialyzer_typesig.erl
index ae8b195345..50fcbc555b 100644
--- a/lib/dialyzer/src/dialyzer_typesig.erl
+++ b/lib/dialyzer/src/dialyzer_typesig.erl
@@ -3432,7 +3432,7 @@ find_constraint(Tuple, [#constraint_list{list = List}|Cs]) ->
find_constraint(Tuple, [_|Cs]) ->
find_constraint(Tuple, Cs).
--spec fold_literal_maybe_match(cerl:tree(), state()) -> cerl:tree().
+-spec fold_literal_maybe_match(cerl:cerl(), state()) -> cerl:cerl().
fold_literal_maybe_match(Tree0, State) ->
Tree1 = cerl:fold_literal(Tree0),