aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-02-03 12:58:24 +0100
committerHans Bolinder <[email protected]>2017-02-03 13:01:45 +0100
commita18c54346f0e760da5cb4620cdc18530f79e7a52 (patch)
treea92c30213027404f420fc0182541cc4e080e2352
parentea530357b27635278ae8a3260e735ea39df5c283 (diff)
downloadotp-a18c54346f0e760da5cb4620cdc18530f79e7a52.tar.gz
otp-a18c54346f0e760da5cb4620cdc18530f79e7a52.tar.bz2
otp-a18c54346f0e760da5cb4620cdc18530f79e7a52.zip
dialyzer: Fix a Dialyzer warning
-rw-r--r--lib/dialyzer/src/dialyzer_typesig.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dialyzer/src/dialyzer_typesig.erl b/lib/dialyzer/src/dialyzer_typesig.erl
index fc1e892e28..e8d9c06799 100644
--- a/lib/dialyzer/src/dialyzer_typesig.erl
+++ b/lib/dialyzer/src/dialyzer_typesig.erl
@@ -2088,6 +2088,8 @@ v2_solve_disjunct(Disj, Map, V2State0) ->
var_occurs_everywhere(V, Masks, NotFailed) ->
ordsets:is_subset(NotFailed, get_mask(V, Masks)).
+-dialyzer({no_improper_lists, [v2_solve_disj/10, v2_solve_conj/12]}).
+
v2_solve_disj([I|Is], [C|Cs], I, Map0, V2State0, UL, MapL, Eval, Uneval,
Failed0) ->
Id = C#constraint_list.id,