aboutsummaryrefslogtreecommitdiffstats
path: root/lib/et
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-09-18 15:26:24 +0200
committerBjörn Gustavsson <[email protected]>2011-09-21 11:09:19 +0200
commit4e3be15240c8d3f2897a994e8399684d5c8b6268 (patch)
tree9df251795babce87220504af42a7c0b389eb907e /lib/et
parent2d6bb0b74427e29b9333bba57683472181243ba5 (diff)
downloadotp-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