[erlang-patches] [erlang-bugs] sys_core_fold forgets about aliases when marking bit string variables for context reusing

Björn Gustavsson bgustavsson@REDACTED
Mon Dec 9 12:54:06 CET 2013


On Fri, Dec 6, 2013 at 11:07 AM, Anthony Ramine <n.oxyde@REDACTED> wrote:

> That’s for the original bug, but the fix I did is way more pervasive,
> don’t you think?
>
> Any additional suites I should patch for that reason?
>
>
core_fold_SUITE.erl

I have not looked closely at the patch yet, but I have
a few questions:

The variable GSub is named that way because it was
only used for the guard. Shouldn't it be renamed now
that it is used both for the guard and body?

Shouldn't the comment be updated?


-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20131209/fa0d0e92/attachment.htm>


More information about the erlang-patches mailing list