b3c8e94dd0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
-module(lists_key_bug). %% OTP-15570 -export([t/1]). t(V) -> K = key(V), case lists:keyfind(K, 1, [{<<"foo">>, bar}]) of false -> a; {_, _} -> b end. key(1) -> 3; key(2) -> <<"foo">>.