diff options
author | Björn Gustavsson <[email protected]> | 2011-09-18 15:26:24 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-09-21 11:09:19 +0200 |
commit | 4e3be15240c8d3f2897a994e8399684d5c8b6268 (patch) | |
tree | 9df251795babce87220504af42a7c0b389eb907e /lib/et | |
parent | 2d6bb0b74427e29b9333bba57683472181243ba5 (diff) | |
download | otp-4e3be15240c8d3f2897a994e8399684d5c8b6268.tar.gz otp-4e3be15240c8d3f2897a994e8399684d5c8b6268.tar.bz2 otp-4e3be15240c8d3f2897a994e8399684d5c8b6268.zip |
erl_bif_types: Fix types for lists:key{search,find,member}/3
The types for lists:key{search,find,member}/3 was computed under the
assumption that the key should be matched (=:=) to the keys in the
list, while the actual implementation uses comparison (==).
Thus erl_bif_types:types/4 would wrongly report that
lists:keyfind(42, 1, [{42.0,a}])
would always return 'false'.
Diffstat (limited to 'lib/et')
0 files changed, 0 insertions, 0 deletions