From 3ef25f1355ac7e87e4e89cbe8e293593127d5e0c Mon Sep 17 00:00:00 2001 From: Roland Karlsson Date: Wed, 19 Mar 2014 14:47:13 +0100 Subject: [PATCH] The list case of '#get-REC'/2 set to type '#get-REC'([any()],_) -> [any()]. --- src/exprecs.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exprecs.erl b/src/exprecs.erl index 90d0779..9e41bbe 100755 --- a/src/exprecs.erl +++ b/src/exprecs.erl @@ -979,7 +979,7 @@ f_get_2(R, Flds, L, Acc) -> [{[t_atom(L, A), t_record(L, R)], T} || {A, T} <- Types] ++ [{[t_list(L, [t_attr(L, R, Acc)]), t_record(L, R)], - t_list(L, [t_union(L, [Ts || {_, Ts} <- Types])])}] + t_list(L, [t_any(L)])}] ), {function, L, FName, 2, [{clause, L, [{var, L, 'Attrs'}, {var, L, 'R'}],