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

Henrik Nord <>
Thu Sep 8 09:43:00 CEST 2011


On 09/08/2011 06:16 AM, Haitao Li wrote:
> 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
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches
I had actually missed this patch.
I dont know if it was me or the mail servers not delivering it to me 
until now.

But thank you for the bump, I have now included it in 'pu' and will 
investigate further.

Thank you for the contribution, and sorry for the delay and trubble

-- 
/Henrik Nord Erlang/OTP



More information about the erlang-patches mailing list