[erlang-patches] [PATCH] ms_tranform: Fix incorrect `variable shadowed' warnings

Haitao Li <>
Thu Sep 8 06:16:31 CEST 2011


On Fri, Aug 26, 2011 at 10:42 AM, Haitao Li <> wrote:
> Hi,
>
> The scope for a variable is its function clause. Variables bound in one
> function clause should not interfere with other function clauses. This
> patch removes incorrect passing of variable bindings from one function
> clause to another.
>
> git fetch git://github.com/lht/otp.git fix-ms_transform-scope-warn
> https://github.com/lht/otp/compare/fix-ms_transform-scope-warn
> https://github.com/lht/otp/compare/fix-ms_transform-scope-warn.patch
>

May I know status about this patch? Is it uninterested by OTP or, is
the patch itself incorrect at all?

I have amended the commit message by adding detail about reproducing the issue.

- Haitao


More information about the erlang-patches mailing list