aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data/src/binary_lc_bug.erl
blob: c1e82bfa59c4fe196bd544f4a46db985464bb4f0 (plain) (blame)
1
2
3
4
5
6
7
8
-module(test).

-export([bin_compr/0]).

bin_compr() ->
%    [ 0 || {N, V} <- [{a, b}] ]. % Works ok
    << <<>> || {A, B} <- [{a, b}] >>. % Complains
%    << <<>> || X <- [{a, b}] >>. % Works ok