diff options
author | Hans Bolinder <[email protected]> | 2015-08-24 08:26:57 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2015-08-24 08:26:57 +0200 |
commit | e409bd71d9aec56dec9f111966d1ca99d2537c41 (patch) | |
tree | 81144874ea0163b1bb00ada42285d21d1843e062 /lib/hipe/cerl/erl_bif_types.erl | |
parent | 6633afcb23e36c77cab56f18a4d327b368513e48 (diff) | |
parent | d57dea02cc2196ff6160471d06297413af5e20f2 (diff) | |
download | otp-e409bd71d9aec56dec9f111966d1ca99d2537c41.tar.gz otp-e409bd71d9aec56dec9f111966d1ca99d2537c41.tar.bz2 otp-e409bd71d9aec56dec9f111966d1ca99d2537c41.zip |
Merge branch 'hb/hipe/keydelete_fix/OTP-12949' into maint
* hb/hipe/keydelete_fix/OTP-12949:
hipe/dialyzer: Fix a bug concerning opaque types and keydelete/3
Diffstat (limited to 'lib/hipe/cerl/erl_bif_types.erl')
-rw-r--r-- | lib/hipe/cerl/erl_bif_types.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/hipe/cerl/erl_bif_types.erl b/lib/hipe/cerl/erl_bif_types.erl index 41a6c731c9..f49089d41c 100644 --- a/lib/hipe/cerl/erl_bif_types.erl +++ b/lib/hipe/cerl/erl_bif_types.erl @@ -2,7 +2,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2003-2014. All Rights Reserved. +%% Copyright Ericsson AB 2003-2015. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -93,7 +93,7 @@ t_list/0, t_list/1, t_list_elements/2, - t_list_termination/1, + t_list_termination/2, t_mfa/0, t_module/0, t_nil/0, @@ -1336,8 +1336,8 @@ type(lists, foldr, 3, Xs, _Opaques) -> type(lists, foldl, 3, Xs); % same type(lists, keydelete, 3, Xs, Opaques) -> strict(lists, keydelete, 3, Xs, fun ([_, _, L]) -> - Term = t_list_termination(L), - t_sup(Term, erl_types:lift_list_to_pos_empty(L)) + Term = t_list_termination(L, Opaques), + t_sup(Term, erl_types:lift_list_to_pos_empty(L, Opaques)) end, Opaques); type(lists, keyfind, 3, Xs, Opaques) -> strict(lists, keyfind, 3, Xs, |