[erlang-bugs] Regression on match in 17.0-rc1

Anthony Ramine <>
Tue Feb 4 11:17:10 CET 2014


Hello Björn,

I am wary of the call to cerl_clauses:match_list in cerl_inline, given that the returned bindings appear to be used.

What do you think of making cerl_clauses:match_list returns {boolean(),Bindings,Aliases}?

Regards,

-- 
Anthony Ramine

Le 4 févr. 2014 à 10:54, Björn Gustavsson <> a écrit :

> On Tue, Feb 4, 2014 at 1:05 AM, Anthony Ramine <> wrote:
>> The problem comes from cerl_clauses. The more I look at it, the more I think this module shouldn’t be used like this.
> 
> Except for use of cerl_clauses in eval_case(), did you find any more places
> where it is not used in a safe way?
> 
> /Bjorn
> 
> -- 
> Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-bugs mailing list